Commit graph

1635 commits

Author SHA1 Message Date
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
Grant Sanderson
fc522e5278 Change width_to_tip_len -> tip_len_to_width 2023-08-15 20:37:13 -07:00
Grant Sanderson
ddf2f7d9bd Fix typo 2023-08-15 20:36:45 -07:00
Grant Sanderson
2337be2318 Remove num_sampled_graph_points_per_tick in Axes __init__ 2023-08-15 20:36:36 -07:00
Grant Sanderson
7ff45b4637 Having changing decimal match fixed_in_frame status 2023-06-23 10:57:57 -07:00
Grant Sanderson
3e64111952 Change default on VMobject to no depth test 2023-06-10 09:22:55 -07:00
Grant Sanderson
6f8ea7433d Small formatting tweaks 2023-06-10 09:22:34 -07:00
Grant Sanderson
bae3b98c0b Fixes to Surface 2023-06-10 09:22:15 -07:00
Grant Sanderson
63f6e9d84f Add Dartboard 2023-06-10 09:21:57 -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
ce7422f8af Add ThreeDAxes.get_graph and .get_parametric_surface 2023-06-10 09:21:02 -07:00
Grant Sanderson
16f5890fd3 Add CoordianteSystem.get_area_under_graph
This is not perfect, since one could optionally add a different color for negative area.
2023-06-10 09:20:28 -07:00
Grant Sanderson
de8e9e5ec1 Fix error with setting bubble direction 2023-03-14 10:35:04 -07:00
Grant Sanderson
6b24860bbf Tweak default configuration for Underline 2023-03-14 10:34:44 -07:00
Grant Sanderson
0d415036a9 Ensure exact integers are displays for large values in Integer 2023-03-14 10:34:33 -07:00
Grant Sanderson
b644bb51de Update submobjects before parents 2023-03-10 11:05:07 -08:00
Grant Sanderson
392019fc6e Specify type in bind_to_graph 2023-03-10 11:04:49 -08:00
Grant Sanderson
b216b8f7e3 Reset default in set_style to stroke_background = False 2023-02-24 08:23:24 -05:00
Grant Sanderson
1eb819363d Fix issue with ticks going beyond number line 2023-02-24 08:23:01 -05:00
Grant Sanderson
a79d4a862f Keep track of dots in DieFace 2023-02-24 08:22:24 -05:00
Grant Sanderson
c372ef4aaa Faster VMobject.get_arc_length 2023-02-16 15:02:30 -08:00
Grant Sanderson
01c51dbc6d animation.update_config -> animation.update_rate_info 2023-02-09 15:16:51 -08:00
Grant Sanderson
ad409999dc Small tweak 2023-02-09 15:16:33 -08:00
Grant Sanderson
b39fbb62f4 Ensure joint_products are refreshed for _AnimationBuilder 2023-02-09 15:16:10 -08:00
Grant Sanderson
f2c07afe74 add 'return self' 2023-02-08 19:39:49 -08:00