205 Commits

Author SHA1 Message Date
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
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
19778e405a some cleanups 2022-01-26 19:55:47 +08:00
92adcd75d4 add style support to svg 2022-01-26 13:53:53 +08:00
05b3c9852e fix add_smooth_cubic_curve_to when have only one point 2022-01-25 20:06:00 +08:00
a1d51474ea Add GlowDot 2021-12-13 16:03:57 -08:00
758f329a06 Use array copy when checking need for refreshing triangulation 2021-12-13 16:02:47 -08:00
8f1dfabff0 VectorizedPoint should call __init__ for both super classes 2021-12-13 16:02:10 -08:00
7fa01d5de8 Small formatting change 2021-12-13 16:01:54 -08:00
0b898a5594 Add always_sort_to_camera for surfaces 2021-11-16 17:38:43 -08:00
ee2f68cd49 Exchange gloss for reflectiveness 2021-11-16 17:38:30 -08:00
2cce4ccdd7 Exchange gloss for reflectiveness 2021-11-16 17:38:08 -08:00
781a9934fd Add shortcut for setting black background stroke 2021-11-16 17:29:24 -08:00
a7173142bf Fix VMobject.fade 2021-11-16 17:29:10 -08:00
0e78027186 Improve point_from_proportion to account for arc length 2021-11-16 17:28:48 -08:00
8f3ff91165 Add reflectiveness to style and default to fill for VMobject.get_color 2021-11-09 09:15:00 -08:00
2c7689ed9e Enable glow_factor on dots 2021-11-08 21:47:48 -08:00
61b04079f5 Merge branch 'master' of github.com:3b1b/manim into video-work 2021-11-01 13:18:09 -07:00
5a0e5a16ea Merge pull request #1667 from TurkeyBilly/master
Overridden add operations for mobjects
2021-11-01 13:17:16 -07:00
8ab95ebe9d Change where unit_normal data gets updated 2021-11-01 13:04:53 -07:00
6766e459f2 Update vectorized_mobject.py 2021-10-31 20:03:04 +08:00
5d942d5ac0 Update vectorized_mobject.py 2021-10-31 18:42:14 +08:00
b285ca7c22 Update vectorized_mobject.py 2021-10-31 18:38:23 +08:00
c60e97ebf9 Update vectorized_mobject.py 2021-10-22 20:58:19 +08:00
c94ebaa260 Update vectorized_mobject.py 2021-10-22 20:03:58 +08:00
030fb52018 Update vectorized_mobject.py 2021-10-22 20:03:05 +08:00
6cdbe0d67a Have image mobject remember the filepath to the Image 2021-10-15 12:08:30 -07:00
329d2c6eae Make sure stroke width is always a float 2021-10-11 06:23:03 -07:00
2d115a2c90 Small cleanup 2021-10-11 06:22:26 -07:00
ed1fc4d5f9 Add bounding box as exceptional key to point_cloud mobject 2021-10-05 14:17:24 -07:00
a4afbfd739 Small fixes to PMobject 2021-10-03 10:27:34 -07:00
5f878a2c1a Fix match_style 2021-10-03 10:27:06 -07:00
b543cc0e32 Temporary fix for PMobject array resizing 2021-10-01 12:33:52 -07:00
d45ea28dc1 Fix DotCloud.set_radii 2021-10-01 12:33:20 -07:00
d8378d8157 Use approximately_smooth by default 2021-08-21 10:35:50 -07:00
40290ada83 Remove unused parameter 2021-08-19 08:37:40 -07:00
71f018dfff Add TrueDot 2021-07-28 07:31:31 -07:00
b3ae517a05 Take in u_range and v_range as arguments to ParametricSurface 2021-07-28 07:31:10 -07:00
d54b796154 Change default to non-flat stroke 2021-05-07 16:07:49 -07:00
09579fcd3e Not a great long-term fix, but flipping should always refresh the triangulation 2021-03-24 13:58:52 -07:00
0e326c7ac5 Return stroke_width as 1d array 2021-03-18 17:34:36 -07:00
d06b3769b8 Added Mobject.set_color_by_rgba_func 2021-02-25 08:46:56 -08:00
dba0550da5 Merge branch 'TonyCrane-package-improve' 2021-02-11 10:54:30 -08:00
787b3be357 Make sure VMobject.set_fill returns self 2021-02-10 16:57:41 -08:00
ddda43e03e update 2021-02-09 09:21:29 +08:00
00e9c426ff Fix Surface.pointwise_become_partial bug 2021-02-07 18:14:23 -08:00
e8f288f753 Fix for ShowCreation on SGroups, like Cube 2021-02-07 17:52:56 -08:00
1084dfb681 Partial fix for Surface.pointwise_become_partial, and hence for ShowCreation() on surfaces 2021-02-07 17:46:04 -08:00
cbe016391b delete old entry point file and add __init__ for folders 2021-02-07 17:48:51 +08:00
514301e0af Allow make_smooth and other kwargs for VMobject.apply_function 2021-02-05 19:58:02 -08:00