Commit graph

5891 commits

Author SHA1 Message Date
Grant Sanderson
7e6a37d499 Typo fix: make_number_changable -> make_number_changeable 2024-03-21 10:03:41 -03:00
Grant Sanderson
6b3834739c Undo redundant previous tweak to LaggedStartMap input type 2024-03-21 10:00:11 -03:00
Grant Sanderson
b26feb7045 Adjust Underline configuration 2024-03-21 09:59:29 -03:00
Grant Sanderson
7db69e32aa Update input type to LaggedStartMap 2024-03-16 11:10:52 -03:00
Grant Sanderson
fa99eafe2b Account for rgba case in point_to_rgb 2024-03-16 11:10:42 -03:00
Grant Sanderson
226d649ee6 Change UpdatersExample scene to feature .always and .f_always syntax 2024-03-07 16:42:40 -03:00
Grant Sanderson
d3ba101ee5 Change from tracking time_based_updater and non_time_updater lists separately to just tracking one list 2024-03-07 16:39:45 -03:00
Grant Sanderson
83cd5d6246 Clean up updater matters, prune unused functions 2024-03-07 16:07:39 -03:00
Grant Sanderson
70b839e188 Change to only compute has_updater status as needed 2024-03-07 15:34:26 -03:00
Grant Sanderson
fd35433a62 Change name note_updated_family -> note_changed_family 2024-03-07 15:32:15 -03:00
Grant Sanderson
4b14c11e4b Only reconstruct family as needed 2024-03-07 13:49:07 -03:00
Grant Sanderson
e124aecd6b Clarify Mobject.needs_new_bounding_box is private 2024-03-07 13:27:29 -03:00
Grant Sanderson
3c778ba678 Add comment to Mobject.animate 2024-03-07 13:27:09 -03:00
Grant Sanderson
a6b46c641b Add Mobject.always and Mobject.f_always
For nicer syntax in creating updaters
2024-03-07 10:17:01 -03:00
Grant Sanderson
2380ffd616 Allow LaggedStart to accept an iterable as an argument 2024-03-07 09:41:47 -03:00
Grant Sanderson
1372cf101c Allow VGroup and Group to accept generators and iterables as arguments 2024-03-07 09:23:02 -03:00
Grant Sanderson
4d67361800 Add shuffled 2024-03-07 08:40:19 -03:00
Grant Sanderson
a5f2ac689f Spacing 2024-03-07 08:40:10 -03:00
Grant Sanderson
2e9c89502d Restrict alpha in CountInFrom 2024-03-07 08:39:45 -03:00
Grant Sanderson
9432a73a9f Let checkpoint_paste work on methods of the current scene 2024-03-02 16:49:54 -05:00
Grant Sanderson
ffbe5c8114 Add type hints for affects_mobject_list 2024-03-02 16:49:35 -05:00
Grant Sanderson
7edc4b64ad Replace numbers_with_elongated_ticks -> big_tick_numbers 2024-02-22 11:47:28 -08:00
Grant Sanderson
e784c42f0d Add big_tick_spacing option NumberLine 2024-02-22 11:45:31 -08:00
Grant Sanderson
4a89376fdd Add method for resetting which plane in 3d space behaves like the floor when panning 2024-02-21 12:42:59 -08:00
Grant Sanderson
712fa30174 Ensure Brace.get_tex uses buff key word arg 2024-02-21 12:25:43 -08:00
Grant Sanderson
5632fee9a3 Ensure get_opacity returns float 2024-02-21 12:25:26 -08:00
Grant Sanderson
7b577e9fc1 Have matrix keep track of elements and ellipses as lists instead of VGroups 2024-02-13 14:52:16 -06:00
Grant Sanderson
ed3ac74d67 Add option to change Euler axes 2024-02-13 14:48:56 -06:00
Grant Sanderson
4ce8a3ba9d Fix computation of normals for Surface 2024-02-13 14:48:00 -06:00
Grant Sanderson
d44e248277 Specify type of argument in Mobject.add 2024-02-09 17:48:25 -06:00
Grant Sanderson
578427543c Add defaults for Matrix object to have ellipses 2024-02-09 17:48:02 -06:00
Grant Sanderson
c531e56a2f Fix DecimalNumber.set_value font size issue 2024-02-08 14:55:12 -06:00
Grant Sanderson
45f8ca7643 Specify output type for DecimalMatrix.element_to_mobject 2024-02-08 14:44:12 -06:00
Grant Sanderson
2966f358a3 Pull type definitions used for Generic[SubmobjectType] outside of if TYPE_CHECKING block 2024-02-08 14:43:37 -06:00
Grant Sanderson
8417369da1 Performance improvement for DecimalNumber.set_value 2024-02-08 14:42:46 -06:00
Grant Sanderson
f3571cf2cb Add random import 2024-02-08 14:37:58 -06:00
Grant Sanderson
e4c824e672 Update random_bright_color to operate based on hsl ranges 2024-02-08 14:37:46 -06:00
Grant Sanderson
31b2bcd9e6 Add interpolate_color_by_hsl 2024-02-08 14:37:30 -06:00
Grant Sanderson
100b108ad1 Treat Group and VGroup more like list types
This may not be the best way to address it, but at least temporarily it prevents linting issues for calls like VGroup(Circle())[0].get_radius()
2024-02-05 15:02:13 -06:00
Grant Sanderson
7009f0f53e Add space after assert 2024-02-03 19:11:18 -06:00
Grant Sanderson
dfa96c2047 Update copy_frame_positioning 2024-02-03 18:49:04 -06:00
Grant Sanderson
ebe689dede Treat is_fixed_in_frame as a float in uniforms, to allow for transformations between 2024-02-03 18:48:54 -06:00
Grant Sanderson
4aef0d1bf5 Add add_ambient_rotation 2024-02-03 18:48:16 -06:00
Grant Sanderson
661814deea Add all orientation options into CameraFrame.reorient 2024-02-03 18:48:07 -06:00
Grant Sanderson
45d9049405 Minor clean up 2024-02-03 18:47:39 -06:00
Grant Sanderson
711438f625 Update the types in decorator methods using @wraps
This is method to address issues flagged by pyright
2024-02-03 18:00:47 -06:00
Grant Sanderson
cde709fcfa Replace fix_in_frame matching for DecimalNumber.set_value to general uniform matching 2024-01-19 17:42:52 -06:00
Grant Sanderson
1c72059725 Have surrounding rectangle match framed fixed status of what it surrounds 2024-01-19 17:42:29 -06:00
Grant Sanderson
d3dee240c3 Allow for smooth transitions between mobjects fixed and unfixed from the frame 2024-01-19 17:42:12 -06:00
Grant Sanderson
60b762ca43 Remove redundant and unused get_gl_Position.glsl file 2024-01-19 17:41:46 -06:00