Commit graph

1819 commits

Author SHA1 Message Date
Grant Sanderson
22c5e79f5f Some cleanups to the way scenes end 2022-05-03 12:41:44 -07:00
Grant Sanderson
a87d3b5f59 Add Mobject.arrange_to_fit_dim 2022-05-03 12:40:43 -07:00
Grant Sanderson
a6fcfa3b40 Add time_span option to Animation 2022-05-02 11:40:42 -07:00
Grant Sanderson
fddb0b29e1 Remove unnecessary import 2022-05-02 11:38:58 -07:00
Grant Sanderson
a09c440281 Slight tweaks to crosshair 2022-05-02 11:13:05 -07:00
Grant Sanderson
c019210015 Have InteractiveScene ignore state of crosshair and selection_highlight 2022-05-02 11:12:04 -07:00
Grant Sanderson
75e1cff579 Reorganize how scene state is managed 2022-05-02 11:11:18 -07:00
Grant Sanderson
feab79c260 Get rid of overly complicated anims_from_play_args (which means old style method building is no longer supported) 2022-05-02 11:10:57 -07:00
Grant Sanderson
308aadcec5 Make show_animation_progress effective 2022-05-02 11:09:09 -07:00
Grant Sanderson
4a8e8e5447 Clear later checkpoints 2022-05-01 15:31:42 -04:00
Grant Sanderson
602fbd1a9f Fix -e for first line of scene 2022-05-01 15:31:31 -04:00
Grant Sanderson
33ffd4863a Add crosshair 2022-05-01 15:31:07 -04:00
Grant Sanderson
6a664ece78 Rename InteractiveScene.colors -> InteractiveScene.palette_colors 2022-04-28 19:16:11 -04:00
Grant Sanderson
354030464e Bug patch Tex sometimes rendering black 2022-04-28 19:15:53 -04:00
Grant Sanderson
a791a82111 Bug fix 2022-04-28 19:15:26 -04:00
Grant Sanderson
7f94a401a8 Wait on start for presenter mode 2022-04-28 12:15:00 -06:00
Grant Sanderson
ed5a435852 Default to more highlight layers 2022-04-28 12:14:49 -06:00
Grant Sanderson
a4b38fd420 Clean up DecimalNumber constructor 2022-04-28 12:14:36 -06:00
Grant Sanderson
c1b222c233 Set default buff for is_point_touching to 0 2022-04-28 11:59:56 -06:00
Grant Sanderson
5d59f945ca FillArrow tweak 2022-04-28 11:59:38 -06:00
Grant Sanderson
ac08963fef Have selection_highlight refresh with an updater 2022-04-28 11:59:21 -06:00
Grant Sanderson
e83ad785ca Handle quitting during scene more gracefully 2022-04-27 11:19:44 -07:00
Grant Sanderson
52259af5df Don't show animation progress bar by default 2022-04-27 11:19:20 -07:00
Grant Sanderson
7c233123a1 Tweaks and fixes to InteractiveScene 2022-04-27 09:55:46 -07:00
Grant Sanderson
c311204993 Tweaks to VHighlight 2022-04-27 09:55:29 -07:00
Grant Sanderson
2b104a46fd Add error message to LatexError 2022-04-27 09:55:15 -07:00
Grant Sanderson
d75439a60e Hacky fix to lambda namespace issues with IPython embeds 2022-04-27 09:54:29 -07:00
Grant Sanderson
1b589e336f Add checkpoints to Scene 2022-04-27 09:53:56 -07:00
Grant Sanderson
ec9ed32d78 Organize get_ancestors from top to bottom 2022-04-27 09:53:23 -07:00
Grant Sanderson
0e45b41fea Match updaters in Mobject.become 2022-04-27 09:52:44 -07:00
Grant Sanderson
c498b88750 Small tweaks to Mobject.looks_identical for marginal speed 2022-04-27 09:52:27 -07:00
Grant Sanderson
2dcc989bb4 (whitespace) 2022-04-27 09:51:43 -07:00
Grant Sanderson
b920e7be7b Rewrite remove_list_redundancies based on (ordered) dicts 2022-04-25 10:45:35 -07:00
Grant Sanderson
4c1210b3ab Add smarter default radius to round_corners 2022-04-25 10:26:29 -07:00
Grant Sanderson
aaea3f40f6 Don't copy Mobject attrs which are mobject but not family members 2022-04-25 10:26:07 -07:00
Grant Sanderson
d6bf9f00a1 Slight tweaks 2022-04-25 10:25:35 -07:00
Grant Sanderson
42d1f48c60 Only leave wait notes in presenter mode 2022-04-25 09:55:49 -07:00
Grant Sanderson
01f0dd30d0 Have Scene.remove look at extended ancestry 2022-04-25 09:55:00 -07:00
Grant Sanderson
40b432a29b Add extended option to Mobject.get_ancestors 2022-04-25 09:54:32 -07:00
Grant Sanderson
d43b5c9bdc Fix shift + s gather selection bug 2022-04-24 13:32:26 -07:00
Grant Sanderson
f2b4245c13 Slight speed-up to InteractiveScene.gather_selection 2022-04-24 13:24:55 -07:00
Grant Sanderson
e49e4b8373 Speed-ups to Mobject.copy 2022-04-24 13:24:20 -07:00
Grant Sanderson
66f695a1ed Ensure ShaderWrapper.copy copies uniforms which are numpy arrays 2022-04-24 13:23:30 -07:00
Grant Sanderson
cc8922155d Make sure Scene.remove clears internal mobject list of family members of args 2022-04-24 13:23:02 -07:00
Grant Sanderson
6310e2fb64 Clean up Scene.remove function, delete restructure_list_to_exclude_certain_family_members 2022-04-24 10:29:31 -07:00
Grant Sanderson
db884b0a67 Add Mobject.get_ancestors 2022-04-24 10:29:02 -07:00
Grant Sanderson
efe051b8e1 Revert to -e to create a new temporary file, rather than writing over the original 2022-04-24 10:28:53 -07:00
Grant Sanderson
205116b8ce Fix refresh_selection_highlight 2022-04-23 18:52:44 -07:00
Grant Sanderson
bd2dce0830 When scene saves state, have it only copy mobjects which have changed 2022-04-23 18:52:26 -07:00
Grant Sanderson
3ae0a4e81b Add equality for ShaderWrapper 2022-04-23 18:51:03 -07:00