Commit graph

5850 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
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
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
41ece958fd Explicitly call out global naure of ID_TO_TEXTURE map 2024-01-17 15:02:19 -06:00
Grant Sanderson
88672a21ff Include texture id in shader wrapper id
This ensure that, among other things, ImageMobjects appearing in groups don't get lumped together in rendering.
2024-01-17 15:01:49 -06:00
Grant Sanderson
f8fedffa4c Use rate function on MoveAlongPath 2023-12-02 21:28:22 -06:00
Grant Sanderson
dcf3eb8416 Ignore pyright configuration 2023-11-06 12:36:34 -05:00
Grant Sanderson
8a4d7b4e8c Add a small hack to ensure Window resets properly in non-primary monitors 2023-11-06 12:34:39 -05: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
cbc32468bf Note chanted stroke and fill after DrawBorderThenFill has complete 2023-11-06 12:31:52 -05:00
Grant Sanderson
f4778b57ef Have Animation keep track of whether a mobject had had it's updating suspended before resuming it at the end 2023-11-06 12:31:16 -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
fa798a2018 Add \dots and \mathds to tex_to_symbol_count 2023-08-15 20:40:39 -07:00
Grant Sanderson
13d4ab1eb0 Stylistic change 2023-08-15 20:40:24 -07:00
Grant Sanderson
c8cf83eedf Add cartesian_product 2023-08-15 20:40:15 -07: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
7954ba14ef Use rate_function appropriately in ShowIncreasingSubsets 2023-08-15 20:35:42 -07:00
Grant Sanderson
7ff45b4637 Having changing decimal match fixed_in_frame status 2023-06-23 10:57:57 -07:00
Grant Sanderson
4f42ebeb4f Small formatting tweaks 2023-06-10 09:26:20 -07:00
Grant Sanderson
21d20541b5 Add texture_names_to_ids to ShaderWrapper 2023-06-10 09:25:44 -07:00
Grant Sanderson
0609c1bfa8 Change default saturation and gamma to each be 1 2023-06-10 09:25:03 -07:00
Grant Sanderson
162fd4a92b Change defaults for where videos are saved
Save them directly to the relevant output directory, rather than to a "videos" subdirectory within it.
2023-06-10 09:24:50 -07:00
Grant Sanderson
cb02066f22 Add always_depth_test option to ThreeDScene, default to true 2023-06-10 09:23:19 -07:00