Commit graph

1610 commits

Author SHA1 Message Date
Grant Sanderson
b26feb7045 Adjust Underline configuration 2024-03-21 09:59:29 -03:00
Grant Sanderson
fa99eafe2b Account for rgba case in point_to_rgb 2024-03-16 11:10:42 -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
1372cf101c Allow VGroup and Group to accept generators and iterables as arguments 2024-03-07 09:23:02 -03:00
Grant Sanderson
a5f2ac689f Spacing 2024-03-07 08:40:10 -03: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
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
4ce8a3ba9d Fix computation of normals for Surface 2024-02-13 14:48:00 -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
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
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
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
8179ba88d0 Reformat defaults for n_rows and n_cols in Mobject.arrange_in_grid 2024-01-18 11:13:12 -06:00
Grant Sanderson
855ef9be8d Refactor Matrix, DecimalMatrix, MobjectMatrix, etc. 2024-01-18 11:12:42 -06:00
Grant Sanderson
246a010799 Add default border width to StringMobject 2023-11-06 12:33:56 -05:00
Grant Sanderson
17cd597904 Have Arrow track what stroke width it was set to 2023-11-06 12:33:26 -05:00
Grant Sanderson
2cdb85cae9 Don't assign a fixed default depth to ThreeDAxes 2023-11-06 12:32:47 -05:00
Grant Sanderson
0d046a7eab Add an option for a graph to continually update to its defining function 2023-11-06 12:32:27 -05:00
Grant Sanderson
916ab94efd Remove white space 2023-10-09 14:17:44 -05:00
Grant Sanderson
a8b1791ff5 Small tweaks to arrow tip implementation 2023-09-04 21:16:36 -07:00
Grant Sanderson
39e5d24858 Factor out partial results from point_from_proportion 2023-09-04 21:16:18 -07:00
Grant Sanderson
295a0f76cc Formatting tweak 2023-09-04 21:15:53 -07:00
Grant Sanderson
2b00a9cf80 Fix add_curve_to 2023-09-04 21:15:43 -07:00
Grant Sanderson
b53ab02675 Simplify initialization of Line with path arc 2023-09-04 20:49:51 -04:00
Grant Sanderson
5f41e238ba Improve VMobject.add_arc_to 2023-09-04 20:49:36 -04:00
Grant Sanderson
690eb24562 Add VMobject.add_arc_to method 2023-09-04 19:31:40 -04:00
Grant Sanderson
60a4f0e167 Factor out Arc.create_quadratic_bezier_points to quadratic_bezier_points_for_arc 2023-09-04 19:08:13 -04:00
Grant Sanderson
0a642133ad Add scale_radii method for DotCloud 2023-09-04 18:46:28 -04:00
Grant Sanderson
87e4a71ca3 Add surround method for Rectangles and SurroundingRectangles 2023-09-04 18:46:11 -04:00
Grant Sanderson
eafd09549d Handle make_jagged for empty VMobjects 2023-08-15 20:40:01 -07:00
Grant Sanderson
f2ad9a70f7 Small format fix 2023-08-15 20:39:27 -07:00
Grant Sanderson
4be7f611ec Fix issues with stroke opacities passed as numpy arrays 2023-08-15 20:38:55 -07:00
Grant Sanderson
d21b05ae0d Arrow fix 2023-08-15 20:37:54 -07:00