164 Commits

Author SHA1 Message Date
bf2d9edfe6 Allow interpolate to work on an array of alpha values 2022-03-16 12:23:51 -07: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
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
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
402c06c99a Allow 3b1b_colormap as an option for get_colormap_list 2021-02-25 08:48:22 -08:00
e1e7b1e6c1 Changes to make reduce the time of from manimlib import * 2021-02-11 12:22:37 -08:00
dba0550da5 Merge branch 'TonyCrane-package-improve' 2021-02-11 10:54:30 -08:00
84f032610f Also search for images where the extension is passed in 2021-02-09 16:56:47 -08:00
00fe33957c rename custom_defaults -> custom_config defaults -> default_config 2021-02-07 21:38:19 +08:00
cbe016391b delete old entry point file and add __init__ for folders 2021-02-07 17:48:51 +08:00
e3d09d161c add auto config guide 2021-02-07 17:45:18 +08:00
66817c4e2b Add alternate smoothing options 2021-02-05 16:29:07 -08:00
25cd846356 Fix and simplify get_smooth_quadratic_bezier_handle_points so that VMobject.make_smooth works better 2021-02-05 15:25:17 -08:00
1727d4b86a Small hacky tweak to fix more triangulation issues 2021-02-03 17:52:11 -08:00
c040dba835 Merge pull request #1338 from sahilmakhijani/master
Changed manim downloads location from default to custom_default config
2021-02-03 11:59:09 -08:00
c8f4c49720 Yet another triangulation fix 2021-02-03 10:07:00 -08:00
0c6149c9dd Minor cleanup to triangulation 2021-02-02 16:43:24 -08:00
ddcd052036 Performance improvements for triangulation 2021-02-02 16:26:25 -08:00
2fbe0c6ee6 Performance improvement for triangulation 2021-02-02 16:19:45 -08:00
1097f0df96 Small cleanups 2021-02-02 15:56:55 -08:00
729dae1376 Fix triangulation issue for polygons with many holes 2021-02-02 15:35:03 -08:00
32632367b6 Changed manim downloads location from default to custom_default config 2021-02-03 00:04:30 +05:30
a3754fa606 Interactive Mobjects added 2021-01-28 14:02:43 +05:30
090743aacb Fix how sound files are found 2021-01-23 11:02:02 -08:00