4440 Commits

Author SHA1 Message Date
f249da95fb Add a basic Prismify to turn a flat VMobject into something with depth 2022-03-17 12:00:10 -07:00
bd6c731e67 Allow CoordinateSystem.coords_to_point to work on arrays of coords 2022-03-16 12:24:22 -07:00
c3e13fff05 Allow Numberline.number_to_point to work on an array of numbers 2022-03-16 12:24:03 -07:00
bf2d9edfe6 Allow interpolate to work on an array of alpha values 2022-03-16 12:23:51 -07:00
fa38b56fd8 Bug fix in cases where empty array is passed to shader 2022-03-16 12:23:11 -07:00
06405d5758 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-02-15 10:11:35 -08:00
46e356e791 Change keyboard shortcut to drop into an embedding to be ctrl+shift+e 2022-02-15 10:10:57 -08:00
97ca42d454 Merge pull request #1745 from YishiMichael/master
Reorganize inheriting order and refactor SVGMobject
2022-02-15 10:05:53 -08:00
a4eee6f44c Merge pull request #1744 from TurkeyBilly/patch-3
Add text_config for DecimalNumber
2022-02-15 09:59:46 -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
0bb9216c14 Update hash_obj method 2022-02-15 21:50:14 +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
0cab23b2ba Reorganize inheriting order of SVGMobject 2022-02-15 20:16:15 +08:00
aef02bfcf9 changed hashing 2022-02-15 11:45:17 +08:00
9d04e287d7 Removed init_colors 2022-02-15 10:20:06 +08:00
97c0f4857b Update numbers.py
Added config passing for text
2022-02-15 09:35:10 +08:00
7f9b0a7eac Merge pull request #1742 from 3b1b/video-work
Presenter mode bug fix
2022-02-14 07:58:55 -08:00
133724d29a Allow for using right arrow in presenter mode 2022-02-14 07:56:26 -08:00
559b96e7ce Small bug fix for presenter mode 2022-02-14 07:52:06 -08:00
f29ef87bba style/docs: fix argument help style and update docs for it 2022-02-14 19:50:30 +08:00
fc1e916f42 docs: update changelog for #1725 #1727 #1728 #1731 #1739 #1740 2022-02-14 14:03:51 +08:00
b3b7d214ad Fix Write bug (#1740)
* Avoid division by zero error for calling Write on null objects
2022-02-13 20:04:05 -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
f9351536e4 minor fixes (#1737) 2022-02-13 11:12:41 +08:00
67f5b10626 Attempt to refactor SVGMobject with svgelements (#1731)
* Some small refactors

* Refactor MTex

* Implement TransformMatchingMTex

* Some refactors

* Some refactors

* Some small refactors

* Strip strings before matching

* Implement get_submob_tex

* Use RGB color mode

* Some small refactors

* Try refactoring SVGMobject with svglib

* Refactor SVGMobject using svgelements

* Refactor SVGMobject using svgelements

* Use functions instead of func names as dict values

* style: modify import order to conform to PEP8

* Set default values to None

* modify import order

* Remove unused import

Co-authored-by: TonyCrane <tonycrane@foxmail.com>
2022-02-11 07:53:21 -08:00
baba6929df Implement ImplicitFunction (#1727) 2022-02-07 08:24:40 -08:00
d6b20a7306 Refactor MTex and implement TransformMatchingMTex (#1725)
* Some small refactors

* Refactor MTex

* Implement TransformMatchingMTex

* Some refactors

* Some refactors

* Some small refactors

* Strip strings before matching

* Implement get_submob_tex

* Use RGB color mode

* Some small refactors
2022-02-07 08:21:53 -08:00
4c3ba7f674 Clean dependencies (#1728)
* clean dependencies

* add classifiers to metadata
2022-02-05 22:13:34 +08:00
3883f57bf8 release: ready to release v1.4.1 v1.4.1 2022-02-04 11:03:37 +08:00
d2e0811285 import Iterable from collections.abc instead of collections 2022-02-04 10:55:59 +08:00
1e2a6ffb8a Merge pull request #1724 from TurkeyBilly/patch-2
Temporarily fix boolean operation bug
2022-01-31 08:06:27 -08:00
56e5696163 Update boolean_ops.py 2022-01-31 23:29:36 +08:00
1ec00629a5 release: ready to release v1.4.0 v1.4.0 2022-01-30 13:06:22 +08:00
aa6335cd90 docs: update changelog for #1719 #1720 #1721 and #1723 2022-01-30 13:00:57 +08:00
7093f7d02d Some small refactors to MTex (#1723) 2022-01-30 12:42:35 +08:00
fad9ed2df7 Merge pull request #1720 from YishiMichael/master
Handle explicit color-related commands
2022-01-29 08:01:48 -08:00
725155409b Some small refactors 2022-01-29 21:06:54 +08:00
a6675eb043 Some small refactors 2022-01-29 14:35:27 +08:00
5d2dcec307 Fix color-related bugs 2022-01-29 14:05:52 +08:00
f60dc7cd07 Merge pull request #1719 from 3b1b/parse-style
Parse style from <style> tag and Add support to <line> tag
2022-01-27 13:33:14 -08:00
6c39cac62b Remove redundant attribute 2022-01-28 01:19:02 +08:00
2bd25a55fa add back override parameter to init_colors 2022-01-28 00:20:13 +08:00
0e4edfdd79 improve config helper (#1721) 2022-01-28 00:16:19 +08:00
277256a407 Merge branch '3b1b:master' into master 2022-01-27 23:11:19 +08:00
831b7d455c Handle explicit color-related commands 2022-01-27 23:09:05 +08:00
1d14a23af9 docs: update changelog for #1712 #1717 and #1716 2022-01-27 22:21:40 +08:00
dffa70ea15 docs: update changelog for #1704 and #1709 2022-01-27 22:09:57 +08:00
31976063df add dependency cssselect2 2022-01-27 17:31:14 +08:00