Grant Sanderson
|
902a4f264e
|
Add white space after assert statements
|
2024-08-16 12:15:55 -05:00 |
|
Grant Sanderson
|
174f318602
|
Push _data_default initialization into init_data
|
2024-08-16 12:10:07 -05: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
|
1372cf101c
|
Allow VGroup and Group to accept generators and iterables as arguments
|
2024-03-07 09:23:02 -03:00 |
|
Grant Sanderson
|
5632fee9a3
|
Ensure get_opacity returns float
|
2024-02-21 12:25:26 -08: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
|
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
|
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
|
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
|
8179ba88d0
|
Reformat defaults for n_rows and n_cols in Mobject.arrange_in_grid
|
2024-01-18 11:13:12 -06:00 |
|
Grant Sanderson
|
87e4a71ca3
|
Add surround method for Rectangles and SurroundingRectangles
|
2023-09-04 18:46:11 -04:00 |
|
Grant Sanderson
|
4be7f611ec
|
Fix issues with stroke opacities passed as numpy arrays
|
2023-08-15 20:38:55 -07:00 |
|
Grant Sanderson
|
f01b990c2e
|
Add default Mobject.match_style
|
2023-06-10 09:21:45 -07:00 |
|
Grant Sanderson
|
fa1080d59a
|
Be sure reverse_points changes data in place
|
2023-06-10 09:21:32 -07:00 |
|
Grant Sanderson
|
b644bb51de
|
Update submobjects before parents
|
2023-03-10 11:05:07 -08:00 |
|
Grant Sanderson
|
ad409999dc
|
Small tweak
|
2023-02-09 15:16:33 -08:00 |
|
Grant Sanderson
|
3bf9e40aba
|
Add more lenient tolerance to Mobject.has_same_shape_as
|
2023-02-03 17:35:20 -08:00 |
|
Grant Sanderson
|
c4777015fc
|
FIx Mobject.replace_shader_code
|
2023-02-02 20:47:55 -08:00 |
|
Grant Sanderson
|
7f940fbee4
|
Change how ShaderWrapper uniforms are handled
|
2023-02-02 17:45:52 -08:00 |
|
Grant Sanderson
|
ad2e7144b4
|
Lock uniform keys, the same way data keys are
|
2023-02-02 16:17:26 -08:00 |
|
Grant Sanderson
|
e36719a21b
|
Use resize_points in Mobject.set_data
|
2023-02-02 15:37:10 -08:00 |
|
Grant Sanderson
|
c4d698a169
|
Have Transform only copy target_mobject if it must
|
2023-02-02 15:36:58 -08:00 |
|
Grant Sanderson
|
0e60b124eb
|
Only compute const_data_keys for unlocked data
|
2023-02-02 15:02:55 -08:00 |
|
Grant Sanderson
|
63dbe3b23f
|
More direct check for family_members_with_points
|
2023-02-02 14:32:55 -08:00 |
|
Grant Sanderson
|
4ec2e8b0c5
|
Merge branch 'master' of github.com:3b1b/manim into video-work
|
2023-02-02 11:22:58 -08:00 |
|
Grant Sanderson
|
ab6a7df4af
|
Use typing_extensions to import Self for python versions <3.11
|
2023-02-02 10:54:47 -08:00 |
|
Grant Sanderson
|
47672d3b1e
|
Add checks for setting submobjects with existing list
|
2023-02-01 22:52:59 -08:00 |
|
Grant Sanderson
|
40bcb7e0f3
|
Accept list of Vect3 as an input to Mobject.set_points
|
2023-02-01 13:02:56 -08:00 |
|
Grant Sanderson
|
04733ac32e
|
Default to fully opaque background rectangle
|
2023-02-01 11:20:09 -08:00 |
|
Grant Sanderson
|
93e65fa3e7
|
Prevent needless extra copying in Mobject.copy
|
2023-01-31 15:37:23 -08:00 |
|
Grant Sanderson
|
077f264890
|
In Mobject.become, match needs_new_bounding_box status
|
2023-01-31 14:48:26 -08:00 |
|
Grant Sanderson
|
1e46847a69
|
Use Iterator type for Mobject.__iter__
|
2023-01-31 14:32:32 -08:00 |
|
Grant Sanderson
|
4c327cd5d2
|
Merge branch 'add-self-type' into video-work
|
2023-01-31 14:26:31 -08:00 |
|
Grant Sanderson
|
b58224f6c8
|
Add Self type to vectorized_mobject.py
|
2023-01-31 13:43:54 -08:00 |
|
Grant Sanderson
|
50343e9629
|
Add Self type to mobject.py
|
2023-01-31 13:31:48 -08:00 |
|
Grant Sanderson
|
a4d9b101de
|
Whoops, make sure deepcopy actually returns
|
2023-01-31 12:53:25 -08:00 |
|
Grant Sanderson
|
5952f9ea74
|
Make sure rgbas will be resized if bigger than Mobject.data
|
2023-01-31 09:48:23 -08:00 |
|
Grant Sanderson
|
57deab6617
|
Fix ControlsExample
|
2023-01-31 09:08:38 -08:00 |
|
Grant Sanderson
|
f8cfcfbc64
|
Fix EventListener typo
|
2023-01-31 09:08:24 -08:00 |
|
Grant Sanderson
|
15d8ebb572
|
Add Mobject.set_shape
|
2023-01-30 11:53:15 -08:00 |
|
Grant Sanderson
|
ab03a0cfba
|
Add Mobject.set_uniform
|
2023-01-28 11:35:15 -08:00 |
|
Grant Sanderson
|
05a80f53a7
|
Make sure depth test calls map to the whole family
|
2023-01-28 10:37:34 -08:00 |
|
Grant Sanderson
|
1a62314719
|
Add a "clear" option for Mobjects
This not only sets the submobject list to 0, but removes self from the parent lists
|
2023-01-28 10:11:22 -08:00 |
|