1370 Commits

Author SHA1 Message Date
c23f020d9a Add Mobject.const_data_keys so that interpolations can be faster 2023-01-16 13:27:20 -08:00
3f8c861973 Rename draw_stroke_behind_fill -> stroke_behind 2023-01-16 11:53:07 -08:00
bdcfbc39ec Cleanup VMobject shader wrapper methods
Deleting those which are no longer needed
2023-01-16 11:50:31 -08:00
5a95bfa70f Delete align_stroke_width_data_to_points 2023-01-15 21:28:19 -08:00
eba86be35b Use resize_preserving_order in aligning VMobjects 2023-01-15 21:23:56 -08:00
29f51a7c6a Check if joint_angles are in locked_data_keys before computing 2023-01-15 20:31:27 -08:00
ba9f61b50b Have ShaderWrapper read in data rather than other shader wrappers 2023-01-15 20:27:19 -08:00
f63331eb24 Use Mobject.data in place of shader_data, remove read_data_into_shader 2023-01-15 20:01:37 -08:00
6f9f83fb1b Unify shader_dtype and data_dtype 2023-01-15 19:09:29 -08:00
3f2fd5b142 Update calculation of path ends to not include adjacent pairs 2023-01-15 18:27:08 -08:00
90ac1fc0bf Rename 'points' -> 'point' 2023-01-15 18:23:41 -08:00
3ba5237f9b Account for edge case with end of loop near end 2023-01-15 18:10:38 -08:00
408890e0d9 Update TexturedSurface for using a data array 2023-01-15 18:02:16 -08:00
9704f063c9 Use pointlike_data_keys for interpolation and rotation 2023-01-15 18:01:37 -08:00
d267c00761 Update Surface to have a data array 2023-01-15 17:40:46 -08:00
ca5e119425 Use _data_defaults for DotCloud radius 2023-01-15 17:40:22 -08:00
7e45558c55 Allow Mobject subclasses to specify which parts of data should act like points 2023-01-15 17:40:05 -08:00
e55434925e Fix get_style for null point case 2023-01-15 16:50:00 -08:00
d868f685dc Account for case of setting stroke width with null array 2023-01-15 16:49:48 -08:00
e37b667c8b Modify Mobject.interpolate 2023-01-15 16:49:24 -08:00
2dafcb3e63 Remove check_data_alignment 2023-01-15 16:48:13 -08:00
801f449ca0 Fix lock_matching_data 2023-01-15 16:46:27 -08:00
f4c50f61b8 Change rgbas -> rgba 2023-01-15 16:46:03 -08:00
2815f60616 First pass at changing data to structure numpy array
This doesn't yet tackle Surface
2023-01-15 16:05:18 -08:00
286b8fb6c3 Set the stage for data to be treated as a structure numpy array 2023-01-15 12:34:59 -08:00
f2e91ef66f Use uniform for ValueTracker value instead of data 2023-01-15 12:34:28 -08:00
da15eb4ad2 Remove a few direct references to data["points"] 2023-01-15 10:00:05 -08:00
ea943de557 Store font size in uniforms not data 2023-01-15 09:50:52 -08:00
51a5086093 Don't default to smoothing for implicit curves 2023-01-15 09:26:56 -08:00
4582f5d331 Clean up sort_faces_back_to_front 2023-01-14 16:03:27 -08:00
3555936c4d Check for valid inputs to arccos 2023-01-13 21:42:54 -08:00
dae51abc17 Allow for a clip plane with Surface 2023-01-13 21:42:34 -08:00
12c3af9647 Update to get_subpath_end_indices_from_points 2023-01-13 20:35:54 -08:00
071e7f1a74 Small tweak for get_joint_angles 2023-01-13 20:33:36 -08:00
e832bb775f Fix small bug with null triangles 2023-01-13 16:53:22 -08:00
91f976f7e9 Don't include bounding box in Mobject.data
In principle, Mobject.data should just carry information that will pass to shaders
2023-01-13 14:58:52 -08:00
cbfe82579f Make sure VMobject.reverse_points works with new path convention 2023-01-13 14:16:04 -08:00
ae99c8cd2e Go back to use_simple_quadratic_approx being set at the Text level 2023-01-13 14:08:29 -08:00
da2b13aee9 Fix triangulation issue for Annulus 2023-01-13 13:22:26 -08:00
a88b56bb04 Be sure get_triangulation is called before orientation data is read in 2023-01-13 13:22:06 -08:00
c820cb4775 Don't propagate animating status to full extended family 2023-01-13 13:06:50 -08:00
42d612f253 Clean up VMobject.get_joint_angles 2023-01-13 09:57:22 -08:00
440138aac5 Allow for tracking which data keys should always have the same size as points 2023-01-13 09:47:06 -08:00
108bb3da44 Have SVGs default to use_simple_quadratic_approx 2023-01-13 08:16:46 -08:00
e1abae1d96 Fix typo 2023-01-13 00:24:26 -08:00
c8a77a352f Fix Piano 2023-01-13 00:24:19 -08:00
c9a2971433 Remove stray constant 2023-01-12 23:58:49 -08:00
a12b5cca67 Add angle check in addition to use_simple_quadratic_approx 2023-01-12 23:58:43 -08:00
aa8fba5b02 Change subdivide_intersections default to one subdivision, remove second check 2023-01-12 23:58:19 -08:00
2c6e8692ce Add condition for calling subdivide_intersections 2023-01-12 23:45:26 -08:00