1421 Commits

Author SHA1 Message Date
80729c0cb8 Only initialize ShaderWrappers as needed 2023-01-25 10:37:12 -08:00
8c1e5f3b42 Change use_clip_plane to be a function 2023-01-25 10:31:05 -08:00
a9a3ca08cd Merge pull request #1972 from 3b1b/winding-fill
Winding fill
2023-01-25 10:01:31 -08:00
bc5c78de83 Add winding fill to VMobject args 2023-01-25 09:56:07 -08:00
0ea91f22b2 Merge pull request #1971 from 3b1b/video-work
Video work
2023-01-25 09:54:55 -08:00
93dd9f687b Ensure align_family works well with VMobject fill 2023-01-25 09:50:16 -08:00
6cf8c8d2e8 Do refresh in pointwise_become_partial 2023-01-24 21:47:12 -08:00
346d252451 Don't save triangulation, but do orient svg paths positively 2023-01-24 21:33:00 -08:00
307487e087 Don't pre-normalize joint_products 2023-01-24 21:10:26 -08:00
98eccab977 Ensure background rectangle matches orientation 2023-01-24 20:03:33 -08:00
f0df5c759d Make winding fill optional, and make winding additive rather than toggling 2023-01-24 20:03:23 -08:00
72da9786a3 Use null array for vert indices in place of None 2023-01-24 15:53:43 -08:00
b93e284695 In aligning families, scale inserted submobjects to 0 2023-01-24 15:29:09 -08:00
945aa9713f Fix aligned subpaths bug 2023-01-24 15:02:06 -08:00
87afdac6a4 Small clean up 2023-01-24 14:09:41 -08:00
6e56c31d67 Use gl_InstanceID instead of hacking triangle_strip 2023-01-24 13:49:43 -08:00
4774d2bc3b First pass at a winding-based fill approach 2023-01-24 13:29:34 -08:00
d01658bc5b Fix multi-color setting 2023-01-24 13:04:13 -08:00
8ce5dc7e84 Add DieFace to drawings.py 2023-01-23 11:53:30 -08:00
b934ee5f50 Make isinstance check work for python 3.7-3.9 (#1969) 2023-01-23 11:36:51 +08:00
847c27ad23 Remove stray import 2023-01-22 09:45:50 -08:00
9e02796c9a Fix set_width for variable stroke width 2023-01-20 21:38:48 -08:00
917481cb23 Always refresh in pointwise_become_partial 2023-01-20 20:33:23 -08:00
9249433144 Don't pass uv_func from SGroup 2023-01-20 16:26:06 -08:00
7df6efb55f Handle edge case of false endpoints in make_smooth 2023-01-20 10:08:12 -08:00
2290f810ca Small tweaks to number_to_point 2023-01-19 20:25:29 -08:00
1c2ec03f7d Replace VMobject.make_approximately_smooth with VMobject.make_smooth(approx=True) 2023-01-19 11:34:13 -08:00
dbeef42600 In VMobject.set_stroke, Don't use resize_with_interpolation for non-list args 2023-01-19 09:56:26 -08:00
93f3c6535f Have DecimalMobject save pre-generated characters 2023-01-19 09:55:56 -08:00
763967281f Don't use resize_with_interpolation by default 2023-01-19 09:51:19 -08:00
1367e31439 Fix bug with polygon start angle = 0 2023-01-19 09:50:41 -08:00
e6abff4299 Speed up bind_graph_to_func 2023-01-19 09:50:24 -08:00
148898f983 Fix insert_n_curves 2023-01-18 23:43:51 -08:00
22d2819ecf Improvements to make_smooth 2023-01-18 22:39:02 -08:00
8e2cf04b71 Simplify true_dot shaders 2023-01-18 15:36:00 -08:00
e20efda3df Revert away from using curve_to_quadratic 2023-01-18 13:03:23 -08:00
8b3aa8f5c6 Account for edge cases on curve_to_quadratic 2023-01-18 12:52:47 -08:00
96b0ec9094 Use fontTools.cu2qu.cu2qu import curve_to_quadratic 2023-01-18 12:29:25 -08:00
44e5f15ae9 Default to non-flat stroke for meshes 2023-01-18 10:58:37 -08:00
b16f0981f6 No need to set flat stroke defaults in Polygon/Polyline 2023-01-17 11:37:06 -08:00
abbe131e8d Track full cross product and dot product of tangent vectors at joints
And alter the convention of what flat_stroke means to be more sensible in 3d
2023-01-17 11:36:47 -08:00
ed2dbfd9b9 Remove unused imports 2023-01-16 21:48:11 -08:00
c3cd64f68c Package reflectiveness, gloss and shadow into a single uniform "shading" 2023-01-16 19:33:57 -08:00
6e6a30c95a Be sure joint_angles are updated immediately before being read into a shader wrapper 2023-01-16 14:28:53 -08:00
20222bc7e9 Update imports 2023-01-16 14:18:49 -08:00
7050c7e7b0 Change type for Surface.shader_dtype 2023-01-16 14:11:30 -08:00
dd0e91015c Account for null family case 2023-01-16 13:56:03 -08:00
1a15756330 Make sure Mobject.become works with bounding_box 2023-01-16 13:55:53 -08:00
8ef93b0f9d Treat font_size as a float 2023-01-16 13:43:48 -08:00
3b40ccc987 In Mobject.append_points, have most data default to the last value 2023-01-16 13:29:35 -08:00