Grant Sanderson
744e695340
Misc. clean up ( #2269 )
...
* Comment tweak
* Directly print traceback
Since the shell.showtraceback is giving some issues
* Make InteracrtiveSceneEmbed into a class
This way it can keep track of it's internal shell; use of get_ipython has a finicky relationship with reloading.
* Move remaining checkpoint_paste logic into scene_embed.py
This involved making a few context managers for Scene: temp_record, temp_skip, temp_progress_bar, which seem useful in and of themselves.
* Change null key to be the empty string
* Ensure temporary svg paths for Text are deleted
* Remove unused dict_ops.py functions
* Remove break_into_partial_movies from file_writer configuration
* Rewrite guarantee_existence using Path
* Clean up SceneFileWriter
It had a number of vestigial functions no longer used, and some setup that could be made more organized.
* Remove --save_pngs CLI arg (which did nothing)
* Add --subdivide CLI arg
* Remove add_extension_if_not_present
* Remove get_sorted_integer_files
* Have find_file return Path
* Minor clean up
* Clean up num_tex_symbols
* Fix find_file
* Minor cleanup for extract_scene.py
* Add preview_frame_while_skipping option to scene config
* Use shell.showtraceback function
* Move keybindings to config, instead of in-place constants
* Replace DEGREES -> DEG
2024-12-12 08:39:54 -08:00
Grant Sanderson
e4007f6915
Add glow dot to show light in SurfaceExample
2024-08-22 15:31:22 -05:00
Grant Sanderson
71814a118b
Fix dot updater in graph example
2024-08-01 07:56:26 -05:00
Grant Sanderson
79c89ad34d
Remove (outdated) background rectangle arg from example scene
2024-07-31 15:23:16 +02:00
Grant Sanderson
7e6a37d499
Typo fix: make_number_changable -> make_number_changeable
2024-03-21 10:03:41 -03:00
Grant Sanderson
226d649ee6
Change UpdatersExample scene to feature .always and .f_always syntax
2024-03-07 16:42:40 -03:00
Grant Sanderson
7edc4b64ad
Replace numbers_with_elongated_ticks -> big_tick_numbers
2024-02-22 11:47:28 -08:00
Grant Sanderson
e3b95276fa
Update TexTransformExample, and pull out TexIndexing
2023-02-03 17:48:51 -08:00
Grant Sanderson
9ef14c7260
Change default h_buff on Matrix
2023-02-01 11:38:54 -08:00
Grant Sanderson
b351c9f1c8
Add smaller h_buff to matrix in OpeningManimExample
2023-02-01 11:20:42 -08:00
Grant Sanderson
7c087838a3
Change backstroke defaults in OpeningScene
2023-01-31 21:33:36 -08:00
Grant Sanderson
f42b3bfa3e
In UpdatersExample, use Tex.make_number_changable
2023-01-31 14:49:07 -08:00
Grant Sanderson
57deab6617
Fix ControlsExample
2023-01-31 09:08:38 -08:00
Grant Sanderson
dec5089777
Update SurfaceExample to use ThreeDScene
2023-01-28 12:04:15 -08:00
Grant Sanderson
f2d4313bcf
Update SurfaceExample to specify samples at scene level
2023-01-20 17:05:59 -08:00
Grant Sanderson
bf726667a8
Don't make TexAndNumbersExample an InteractiveScene by default
2023-01-15 09:26:17 -08:00
Grant Sanderson
abf1dd3d8b
Typo fix
2023-01-02 09:32:10 -08:00
Grant Sanderson
a31c4ae3c2
Add more indexing details to TexTransformExample
2022-12-30 15:19:29 -08:00
Grant Sanderson
632819dd6d
Show examples of indexing by substrings and regular expressions
2022-12-29 19:45:29 -08:00
Grant Sanderson
fdccfd51fc
Add TexAndNumbersExample
2022-12-29 19:43:12 -08:00
Grant Sanderson
e76b673e63
Change axes height in GraphExample
2022-12-28 19:22:49 -08:00
Grant Sanderson
e59b3d2ac0
Update TexTransformExample
2022-12-28 13:39:53 -08:00
Grant Sanderson
33682b7199
MTex is the new Tex, Tex is now OldTex
...
Global replace
Tex -> OldTex
TexText -> OldTexText
MTex -> Tex
MTexText -> TexText
2022-12-21 13:18:20 -08:00
Grant Sanderson
e357885da0
Replace TexText with MTexText
2022-12-20 15:24:38 -08:00
Grant Sanderson
6615a912bd
Add default_camera_config class variable to Scene, likewise for window and file_writer configuration
2022-12-19 11:35:43 -08:00
Grant Sanderson
15f03dae7b
Small fixes to Axes configuration
2022-12-16 14:47:56 -08:00
Grant Sanderson
0b994db0ec
Make camera_config changable as a class variable
2022-12-14 17:14:53 -08:00
Maciej Musielik
fb50e4eb55
Fixing a typo ("termnial" -> "terminal") ( #1872 )
2022-10-01 16:07:09 +08:00
Grant Sanderson
57b7af3bf1
Remove old-style method building from ExampleScenes
2022-05-02 11:13:18 -07:00
Grant Sanderson
a0507c5277
Update to use new keybinding
2022-04-20 22:07:28 -07:00
鹤翔万里
1f32a9e674
Some fix ( #1781 )
...
* fix: reduce warning from numpy
* fix: fix ControlsExample
2022-04-07 10:50:18 +08:00
Sujan Dutta
066a2ed5dc
removed extra 'all' from comments
2021-12-31 00:10:57 -05:00
BillyLikesHacking
0239e12d8a
Update comments in example.py
...
updated the cmd command line to "manimgl example_scenes.py OpeningManimExample" instead of "python -m manim", which the latter one was used for cairo-backend manim version instead of the current manimgl
2021-09-12 11:06:09 +08:00
slowy07
1e621e8278
fix: fix typo spelling grammar
2021-08-07 22:25:26 +07:00
TonyCrane
54fff5523b
change default font size of ControlsExample
2021-06-29 20:55:25 +08:00
sahilmakhijani
01670cf823
Fix ControlsExample Scene ( #1551 )
2021-06-20 15:37:06 +08:00
TonyCrane
892df54c9f
remove lsh in OpeningManimExample
2021-06-19 20:13:41 +08:00
TonyCrane
b8fb69773e
fix example scenes
2021-06-15 19:20:19 +08:00
TonyCrane
f16277f100
some fixes of doc
2021-06-14 13:30:37 +08:00
Grant Sanderson
c45ff910f0
Remove double brace convention, since it causes errors with a number of tex strings
2021-04-08 14:46:03 -07:00
Grant Sanderson
15760cf253
Merge branch 'master' of github.com:3b1b/manim
2021-04-08 14:32:07 -07:00
Grant Sanderson
12ef0a26d7
Fix chaining animation in example scenes
2021-04-08 14:20:37 -07:00
William Clavier
5c427ea287
Fixed typo in example_scenes.py
2021-03-07 22:19:01 -05:00
Tony031218
4179c1c3e9
fix bug in example_scenes
2021-02-14 23:12:25 +08:00
Grant Sanderson
c30b535504
Small tweak to Example scene
2021-02-12 13:33:55 -08:00
Grant Sanderson
dba0550da5
Merge branch 'TonyCrane-package-improve'
2021-02-11 10:54:30 -08:00
Grant Sanderson
6e2dcae4d7
Fix InteractiveDevlopmentExample bug
2021-02-10 13:54:01 -08:00
friedkeenan
cbe24daa98
Fix mistake
2021-02-10 15:38:31 -06:00
friedkeenan
2d83cccc0a
Merge 3b1b/master
2021-02-10 09:40:16 -06:00
friedkeenan
cfd32c79b1
Switch old syntax for animating methods to .animate syntax
2021-02-10 09:10:31 -06:00