Commit graph

258 commits

Author SHA1 Message Date
Grant Sanderson
6decb0c32a Rename frame_rate -> fps 2022-05-14 17:47:31 -07:00
Grant Sanderson
fb3cf308df Make sure init_customization matches default_config.yml 2022-05-14 17:42:07 -07:00
Grant Sanderson
2b104a46fd Add error message to LatexError 2022-04-27 09:55:15 -07:00
YishiMichael
69db53d612
Merge branch '3b1b:master' into refactor 2022-04-26 10:07:40 +08:00
Grant Sanderson
b920e7be7b Rewrite remove_list_redundancies based on (ordered) dicts 2022-04-25 10:45:35 -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
YishiMichael
97edc2d6cf
Merge branch 'master' into refactor 2022-04-24 08:26:22 +08:00
YishiMichael
e085c2e214
Refactor LabelledString and relevant classes 2022-04-23 17:17:43 +08:00
Grant Sanderson
d24b8ff48f
Merge branch 'master' into master 2022-04-20 22:40:11 -07:00
Grant Sanderson
4f2e3456e2 Raise Specific exception type when running into latex errors 2022-04-20 21:53:05 -07:00
Grant Sanderson
47636686cb Cleanup extract_mobject_family_members 2022-04-20 21:51:56 -07:00
YishiMichael
cbb7e69f68
Refactor LabelledString and relevant classes 2022-04-18 18:47:57 +08:00
YishiMichael
0406ef70bb
Adjust typings for sounds.py and tex_file_writing.py 2022-04-16 14:37:28 +08:00
YishiMichael
09952756ce
Support hashing Color type in hash_obj 2022-04-15 13:48:24 +08:00
Grant Sanderson
5a91c73b23 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-14 14:40:14 -07:00
YishiMichael
93790cde64
Add import annotations statement 2022-04-12 20:03:48 +08:00
YishiMichael
9ef9961d0e
Sort imports 2022-04-12 19:19:59 +08:00
YishiMichael
0cf3199578
Adjust return type 2022-04-12 11:26:19 +08:00
YishiMichael
f307c2a298
Add type annotations for color.py 2022-04-12 11:13:05 +08:00
Grant Sanderson
705f1a528b Separate functionality of ordinary linear interpolation from that using np.outer on arrays 2022-04-11 10:47:11 -07:00
Grant Sanderson
e8ac25903e Add case for zero vectors on angle_between_vectors 2022-04-11 09:59:24 -07:00
鹤翔万里
1f32a9e674
Some fix (#1781)
* fix: reduce warning from numpy

* fix: fix ControlsExample
2022-04-07 10:50:18 +08:00
Grant Sanderson
648855dae0
Merge pull request #1772 from YishiMichael/master
Construct LabelledString base class for MarkupText and MTex
2022-04-04 10:01:13 -07:00
鹤翔万里
39673a80d7
fix: add missing import of annotations 2022-04-02 22:00:02 +08:00
YishiMichael
1cde28838f
Merge branch '3b1b:master' into master 2022-03-30 22:02:23 +08:00
Sunkisser
c4ea794107 use tqdm to display progress bar for long running SVG triangulations 2022-03-28 03:30:10 +00:00
Sunkisser
cfba6c431f revert previous changes - we will refactor using tqdm 2022-03-28 02:55:21 +00:00
鹤翔万里
e11c5def63
style: some style fixes 2022-03-28 08:05:41 +08:00
Sunkisser
a3e4246938 use log.debug and display idx+1 2022-03-27 21:59:49 +00:00
Sunkisser
969aa82f04 user feedback for SVGs that take a while 2022-03-26 23:43:11 +00:00
YishiMichael
9ac1805e7e
Refactor MTex 2022-03-26 20:52:28 +08:00
Grant Sanderson
a9349057ad Merge branch 'master' of github.com:3b1b/manim into video-work 2022-03-22 11:30:25 -07:00
Grant Sanderson
f690164087
Merge branch 'master' into master 2022-03-22 11:00:33 -07:00
Grant Sanderson
7bf3615bb1 Refactor rotation methods to use scipy.spatial.transform.Rotation 2022-03-18 17:11:08 -07:00
Grant Sanderson
bf2d9edfe6 Allow interpolate to work on an array of alpha values 2022-03-16 12:23:51 -07:00
YishiMichael
e879da32d5
Specify UTF-8 encoding for tex files (#1748) 2022-02-17 19:09:55 +08:00
TonyCrane
4fbe948b63
style: insert an empty line after import 2022-02-16 21:08:25 +08:00
TonyCrane
9f3b404df6
resolve conflict and add type hints for it 2022-02-16 11:46:55 +08:00
YishiMichael
8cac16b452
Update display_during_execution 2022-02-15 21:59:09 +08:00
YishiMichael
719cd8cde3
Remove redundant brackets 2022-02-15 21:54:56 +08:00
YishiMichael
6f9df8db26
Improve hashing algorithm 2022-02-15 21:38:22 +08:00
YishiMichael
3756605a45
Update display_during_execution 2022-02-15 20:55:44 +08:00
TonyCrane
db71ed1ae9
fix: fix type hint of remove_empty_value 2022-02-15 14:38:55 +08:00
TonyCrane
3744844efa
fix: fix type hint of set_array_by_interpolation 2022-02-15 11:35:22 +08:00
TonyCrane
66caf0c1ad
chore: only import some classes when type checking 2022-02-14 21:34:56 +08:00
TonyCrane
a0ed9edb42
resolve conflict 2022-02-14 14:12:06 +08:00
Grant Sanderson
602809758e
Video work (#1739)
* Enable setting points to a null list, and adding one point at a time.

* Add refresh_locked_data

* Add presenter mode to scenes with -p option

* Allow for an embed by hitting e during interaction

* Add set_min_height, etc.

* Make sure null parametric curve has at least one point

* Account for edge case where \{ is used in Tex

* Allow for logging notes in wait calls, useful for presenter mode

* Simplify choose, and add gen_choose for fractional amounts

* Default to no top on axes

* Allow match_x, match_y, etc. to take in a point

* Allow wait calls to ignore presenter mode

* Just use math.combo, no caching with choose(n, r)

* Use generator instead of list in bezier

* Bubble init_colors should override

* Account for "px" values read in from an svg

* Stop displaying when writing is happening

* Update the way Bubble override SVG colors
2022-02-13 15:16:16 -08:00
TonyCrane
7f8216bb09
chore: replace some iterable with npt.ArrayLike 2022-02-13 15:18:04 +08:00
TonyCrane
35025631eb
chore: fix type hint of bezier 2022-02-13 12:56:03 +08:00
TonyCrane
6e292daf58
chore: add type hints to manimlib.utils 2022-02-12 23:47:23 +08:00