184 Commits

Author SHA1 Message Date
1cde28838f Merge branch '3b1b:master' into master 2022-03-30 22:02:23 +08:00
c4ea794107 use tqdm to display progress bar for long running SVG triangulations 2022-03-28 03:30:10 +00:00
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
a3e4246938 use log.debug and display idx+1 2022-03-27 21:59:49 +00:00
969aa82f04 user feedback for SVGs that take a while 2022-03-26 23:43:11 +00:00
9ac1805e7e Refactor MTex 2022-03-26 20:52:28 +08:00
a9349057ad Merge branch 'master' of github.com:3b1b/manim into video-work 2022-03-22 11:30:25 -07:00
f690164087 Merge branch 'master' into master 2022-03-22 11:00:33 -07:00
7bf3615bb1 Refactor rotation methods to use scipy.spatial.transform.Rotation 2022-03-18 17:11:08 -07:00
bf2d9edfe6 Allow interpolate to work on an array of alpha values 2022-03-16 12:23:51 -07:00
e879da32d5 Specify UTF-8 encoding for tex files (#1748) 2022-02-17 19:09:55 +08:00
4fbe948b63 style: insert an empty line after import 2022-02-16 21:08:25 +08:00
9f3b404df6 resolve conflict and add type hints for it 2022-02-16 11:46:55 +08:00
8cac16b452 Update display_during_execution 2022-02-15 21:59:09 +08:00
719cd8cde3 Remove redundant brackets 2022-02-15 21:54:56 +08:00
6f9df8db26 Improve hashing algorithm 2022-02-15 21:38:22 +08:00
3756605a45 Update display_during_execution 2022-02-15 20:55:44 +08:00
db71ed1ae9 fix: fix type hint of remove_empty_value 2022-02-15 14:38:55 +08:00
3744844efa fix: fix type hint of set_array_by_interpolation 2022-02-15 11:35:22 +08:00
66caf0c1ad chore: only import some classes when type checking 2022-02-14 21:34:56 +08:00
a0ed9edb42 resolve conflict 2022-02-14 14:12:06 +08:00
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
7f8216bb09 chore: replace some iterable with npt.ArrayLike 2022-02-13 15:18:04 +08:00
35025631eb chore: fix type hint of bezier 2022-02-13 12:56:03 +08:00
6e292daf58 chore: add type hints to manimlib.utils 2022-02-12 23:47:23 +08:00
0e4edfdd79 improve config helper (#1721) 2022-01-28 00:16:19 +08:00
e8205a5049 Some refactors for MTex 2022-01-26 13:03:14 +08:00
407c53f97c Have rotation_between_vectors handle identical/similar vectors 2021-11-18 17:52:48 -08:00
fbc329d7ce Small bug fix for angle_between_vectors 2021-11-17 12:49:53 -08:00
82bd02d21f Fix angle_between_vectors, add rotation_between_vectors 2021-11-16 17:08:35 -08:00
0e574882b3 Refactor #1637 (#1650)
* Refactor #1637

* Refactor #1637

* Refactor #1637

* Refactor #1637

* Refactor #1637

* Refactor #1637

* Update config.py

Co-authored-by: 鹤翔万里 <tonycrane@foxmail.com>
2021-10-16 13:04:52 +08:00
4466cfe727 Merge branch 'master' into add_warnings 2021-10-15 12:12:36 -07:00
7425057d9f use rich to log 2021-10-07 17:37:10 +08:00
61aec6051a Use generator in place of list 2021-08-21 17:08:28 -07:00
9a78d13212 get_smooth_quadratic_bezier_handle_points edge case for 2 points 2021-08-21 17:07:49 -07:00
25c5aa2c65 Small stylistic cleanup 2021-08-19 09:18:48 -07:00
1e621e8278 fix: fix typo spelling grammar 2021-08-07 22:25:26 +07:00
f09092024f Merge branch 'master' of https://github.com/3b1b/manim 2021-07-28 23:15:03 +08:00
4d65c97965 allow sound_file_name to be taken in without extensions 2021-07-28 23:13:15 +08:00
8624168ed9 Merge branch 'master' into some1-video-changes 2021-07-28 07:53:04 -07:00
a3227dda67 Small formatting fix 2021-07-28 07:29:43 -07:00
2ed78c6e0f Rewrite earclip_triangulation 2021-07-28 17:06:43 +08:00
5707585d17 fix typo 2021-06-26 17:45:21 +08:00
a99ccea02c Add some comments about the temporary hack 2021-06-19 16:00:39 +08:00
e836c3bb42 Temporary hack for showing text correctly 2021-06-18 14:43:09 +08:00
876f06cc37 add window_position to config guide 2021-06-14 08:29:38 +08:00
8999ebb556 Also look for jpegs 2021-03-27 11:55:58 -07:00
3c240478b8 Tiny format change 2021-03-18 17:33:20 -07:00
5636b41dfd bug fix for resize_with_interpolation in the case of length=0 2021-02-25 08:48:41 -08:00