Commit graph

2492 commits

Author SHA1 Message Date
Grant Sanderson
03080a10a7 Small style tweaks 2023-01-23 15:05:10 -08:00
Grant Sanderson
8d729eef5a Rename perspective to view_matrix 2023-01-23 14:41:17 -08:00
Grant Sanderson
e8b75941e0 Get rid of pixel_width and pixel_height attrs on Camera 2023-01-23 14:02:06 -08:00
Grant Sanderson
1d4fcf020b Refer directly to fbo viewports in get_raw_fbo_data 2023-01-23 11:54:01 -08:00
Grant Sanderson
8ce5dc7e84 Add DieFace to drawings.py 2023-01-23 11:53:30 -08:00
Grant Sanderson
847c27ad23 Remove stray import 2023-01-22 09:45:50 -08:00
Grant Sanderson
8b786311af Rename set_ctx_clip_distance -> set_ctx_clip_plane 2023-01-22 09:45:41 -08:00
Grant Sanderson
39cda62b66 Remove texture_id == 15 hack 2023-01-22 09:07:26 -08:00
Grant Sanderson
24864a3d61 Small tweak 2023-01-21 11:13:22 -08:00
Grant Sanderson
9e02796c9a Fix set_width for variable stroke width 2023-01-20 21:38:48 -08:00
Grant Sanderson
8e1fdd5a79 Change crosshair style 2023-01-20 21:38:36 -08:00
Grant Sanderson
0d66981ac7 Fix issue with variable stroke width 2023-01-20 21:38:28 -08:00
Grant Sanderson
2e2e8dfee2 Fix the fact that Write messes up joint_products 2023-01-20 20:33:47 -08:00
Grant Sanderson
917481cb23 Always refresh in pointwise_become_partial 2023-01-20 20:33:23 -08:00
Grant Sanderson
8fee4d1a66 Fix straight line fill anti-alias issue 2023-01-20 17:35:36 -08:00
Grant Sanderson
d08a16a5fb Make Camera.fbo the entity rendered to, with a separate fbo for emitted frames 2023-01-20 16:31:09 -08:00
Grant Sanderson
66d12a1687 Specify number of samples at the scene level, and be sure it works for Window as well 2023-01-20 16:30:39 -08:00
Grant Sanderson
9249433144 Don't pass uv_func from SGroup 2023-01-20 16:26:06 -08:00
Grant Sanderson
23b4e3e03b Use cubic formula in stroke frag for large stroke width case 2023-01-20 13:22:18 -08:00
Grant Sanderson
6c262f63b1 Reduce is_linear threshold 2023-01-20 10:10:39 -08:00
Grant Sanderson
b7ea24f9ea Tweak stroke frag 2023-01-20 10:09:58 -08:00
Grant Sanderson
7df6efb55f Handle edge case of false endpoints in make_smooth 2023-01-20 10:08:12 -08:00
Grant Sanderson
fe7dc3c459 Tiny cleanup 2023-01-20 10:07:28 -08:00
Grant Sanderson
2290f810ca Small tweaks to number_to_point 2023-01-19 20:25:29 -08:00
Grant Sanderson
debc68a3b4 Just moving some lines around 2023-01-19 20:24:59 -08:00
Grant Sanderson
909e515a2f Only compute xyz-to-uv matrix in non-linear case 2023-01-19 20:24:32 -08:00
Grant Sanderson
1c2ec03f7d Replace VMobject.make_approximately_smooth with VMobject.make_smooth(approx=True) 2023-01-19 11:34:13 -08:00
Grant Sanderson
6839de9a31 Remove rotate.glsl 2023-01-19 10:52:53 -08:00
Grant Sanderson
c873d073e2 Factor out rotation matrix 2023-01-19 10:47:21 -08:00
Grant Sanderson
1eae7c06ba Add conditions for resize_with_interpolation 2023-01-19 09:56:40 -08:00
Grant Sanderson
dbeef42600 In VMobject.set_stroke, Don't use resize_with_interpolation for non-list args 2023-01-19 09:56:26 -08:00
Grant Sanderson
93f3c6535f Have DecimalMobject save pre-generated characters 2023-01-19 09:55:56 -08:00
Grant Sanderson
763967281f Don't use resize_with_interpolation by default 2023-01-19 09:51:19 -08:00
Grant Sanderson
1367e31439 Fix bug with polygon start angle = 0 2023-01-19 09:50:41 -08:00
Grant Sanderson
e6abff4299 Speed up bind_graph_to_func 2023-01-19 09:50:24 -08:00
Grant Sanderson
148898f983 Fix insert_n_curves 2023-01-18 23:43:51 -08:00
Grant Sanderson
981fe009e5 Fix radius on dots 2023-01-18 23:43:36 -08:00
Grant Sanderson
22d2819ecf Improvements to make_smooth 2023-01-18 22:39:02 -08:00
Grant Sanderson
3820e098c0 Tweak to type hints 2023-01-18 16:25:32 -08:00
Grant Sanderson
8e2cf04b71 Simplify true_dot shaders 2023-01-18 15:36:00 -08:00
Grant Sanderson
cd3c5031fa Fix get_perspective_transform to shift before rotation 2023-01-18 13:59:50 -08:00
Grant Sanderson
6c2544098b Store pixel_size instead of pixel_shape 2023-01-18 13:50:09 -08:00
Grant Sanderson
b667d89e9b Simplify get_gl_Position 2023-01-18 13:44:41 -08:00
Grant Sanderson
fa525b494c Increase threshold for bevel tweaking 2023-01-18 13:07:37 -08:00
Grant Sanderson
13c41be17f Small clean up 2023-01-18 13:07:18 -08:00
Grant Sanderson
e20efda3df Revert away from using curve_to_quadratic 2023-01-18 13:03:23 -08:00
Grant Sanderson
8b3aa8f5c6 Account for edge cases on curve_to_quadratic 2023-01-18 12:52:47 -08:00
Grant Sanderson
d39fea0d4d A few small fixes 2023-01-18 12:52:05 -08:00
Grant Sanderson
96b0ec9094 Use fontTools.cu2qu.cu2qu import curve_to_quadratic 2023-01-18 12:29:25 -08:00
Grant Sanderson
40436d6370 Slightly cleaner xs_on_clean_parabola 2023-01-18 11:03:22 -08:00