Commit graph

900 commits

Author SHA1 Message Date
Grant Sanderson
677f67cb9d VFadeInThenOut 2019-03-22 11:50:16 -07:00
Grant Sanderson
54cd60bef7 AnimatedBoundary. Perhaps a better name is in order, but this is meant to add a little visual interest to things like a framing rectangle. 2019-03-22 11:50:02 -07:00
Grant Sanderson
f4c2c4642a Fix bug with applying function to VectorizedPoint 2019-03-21 17:50:04 -07:00
Grant Sanderson
e567fff855 Experimenting with applying rate_func at the submobject level. Admittedly, I haven't thought it through that much, but I suspect this will make things work better 2019-03-21 17:49:05 -07:00
Grant Sanderson
84a950425c DashedVMobject should handle case when num_dashes=0 2019-03-21 09:42:06 -07:00
Grant Sanderson
453ae95cee Add stroke opacity to VMobject.get_style 2019-03-20 21:28:19 -07:00
Grant Sanderson
319b256b0c Fix to Arrow styling 2019-03-20 21:27:45 -07:00
Grant Sanderson
259c36512f Remove unnecessary import 2019-03-20 21:27:26 -07:00
Grant Sanderson
27200f79d3 Add last tick to number line 2019-03-20 17:38:11 -07:00
Grant Sanderson
b1c00e5129 Add DARKER_GREY 2019-03-20 17:37:57 -07:00
Grant Sanderson
0271511a9e Removed unneccesary import 2019-03-20 13:07:40 -07:00
Grant Sanderson
174094254c fixed wait_until for PiCreatureScene 2019-03-20 13:07:26 -07:00
Grant Sanderson
36c62b4b55 Added missing import 2019-03-20 13:07:08 -07:00
Grant Sanderson
ac9c04d3b8 Bugfix for aligning null VMobjects 2019-03-19 22:29:18 -07:00
Grant Sanderson
1ca26fcf1d Bug fix for Bubble.pin_to 2019-03-19 22:29:00 -07:00
Grant Sanderson
4bd1e6f3a8 Bugfix for PiCreatureScene 2019-03-19 22:28:33 -07:00
Grant Sanderson
b29597d39b Added FadeInFromPoint 2019-03-19 22:28:13 -07:00
Grant Sanderson
ecb9184e1a Small addition for clarity 2019-03-19 17:31:03 -07:00
Grant Sanderson
abccb4aa8b Small formatting changes 2019-03-19 17:30:37 -07:00
Grant Sanderson
45fa02b6b9 Have VMobject.set_style return self 2019-03-19 17:29:55 -07:00
Grant Sanderson
9c2113648c Remove unnecessary import 2019-03-19 17:29:36 -07:00
Grant Sanderson
d0b2d8ee5e Small changes to LinearTransformationScene 2019-03-18 14:35:33 -07:00
Grant Sanderson
8f73a652ab Begin incorporating div_curl vector field functionality into the main library 2019-03-17 06:42:49 -07:00
Grant Sanderson
dc18845a44 Change lag_ratio defaults 2019-03-16 22:13:09 -07:00
Grant Sanderson
4b5b492ba3 Fix change_student_modes 2019-03-16 22:12:49 -07:00
Grant Sanderson
5a88ad2933 Fix get_det_text 2019-03-16 22:12:31 -07:00
Grant Sanderson
d07c086bec Fix Laptop 2019-03-16 22:12:12 -07:00
Grant Sanderson
fb99ebaeaf Change how family is handled for VMobject.fade 2019-03-16 22:11:48 -07:00
Grant Sanderson
bbf7cac78c Small renaming save_image -> save_final_image, which is more honest 2019-03-16 22:11:19 -07:00
Grant Sanderson
4451e9a265 Fixed configuration of VectorSpaceScene 2019-03-16 22:10:35 -07:00
Ni_Yiyu
4d3c511895 Fix Matrix 2019-03-17 03:05:52 +08:00
Grant Sanderson
5c79d80187 Fix to Matrix 2019-03-13 05:20:56 -07:00
Devin
992d364913 fix get_anchors for VMobjects 2019-03-10 11:56:04 -07:00
Guillermo Garza
528e2d3195 Fix position of labels on the y-axis 2019-03-08 14:57:45 -06:00
Guillermo Garza
ae1efc6009 Fix alignment of minus sign to numbers 2019-03-08 14:39:47 -06:00
Grant Sanderson
3aca85e47d
Merge pull request #467 from indiejames/Fix-Ellipse-height
Fix height setting in Ellipse initialization
2019-03-07 15:44:16 -08:00
Guillermo Garza
88b8bf9666 Fix the position of the y-axis label 2019-03-07 15:29:01 -06:00
James Norton
741ed593b2 Fix height setting in Ellipse initialization 2019-03-07 10:44:43 -05:00
Jean Whitmore
73a6c2400b Fixed CurvedArrow constructor by moving get_length() to base class.
I moved get_length() from the Line class to the shared base class,
TipableVMobject.

TESTED

python3 -m manim manim_tutorial_P37.py MoreShapes -pl
2019-03-03 07:53:15 -06:00
Jean Whitmore
61dbad5edd Revert "Reverted Cleaned Up Arrow Implementation (commit d489b5df5c77...)"
Undoing my revert of another commit because I found a fix.

This reverts commit cd29ff6e0d.
2019-03-03 07:42:00 -06:00
Jean Whitmore
50da0b6aae Merge remote-tracking branch 'upstream/master' into revert_cleaned_up_arrow_implementation 2019-03-02 16:54:10 -06:00
Devin Neal
8c556f7586 don't write media_dir 2019-02-28 21:18:31 +00:00
Rodrigo Castellon
55c442f8fd Fixed temp_file_path to be more specific in adding the "_temp." string to file name (#458)
fixed for paths with periods in it
2019-02-26 16:52:30 -08:00
Jean Whitmore
cd29ff6e0d Reverted Cleaned Up Arrow Implementation (commit d489b5df5c77...) 2019-02-24 11:57:02 -06:00
ProgrammingIncluded
7c76b7add8 Fixed SVG parsing error with consecutive C or M coordinates. 2019-02-19 21:33:03 -08:00
jeanimal
2d552e0aa4
Fix Ellipse constructor: 'width' is not defined
Constructing an ellipse before gave the error "name 'width' is not defined"

I got this error when running the tutorial at https://github.com/zimmermant/manim_tutorial/blob/master/manim_tutorial_P37.py.

python3 -m manim manim_tutorial_P37.py MoreShapes -pl

Traceback (most recent call last):
  File "/Users/jeanwhitmore/Code/python3/manim/manimlib/extract_scene.py", line 153, in main
    scene = SceneClass(**scene_kwargs)
  File "/Users/jeanwhitmore/Code/python3/manim/manimlib/scene/scene.py", line 52, in __init__
    self.construct()
  File "manim_tutorial_P37.py", line 33, in construct
    ellipse=Ellipse(width=3, height=1, color=RED)
  File "/Users/jeanwhitmore/Code/python3/manim/manimlib/mobject/geometry.py", line 319, in __init__
    self.set_width(width, stretch=True)
NameError: name 'width' is not defined

After this fix, the Ellipse can be constructed and the animation is generated.

(Another shape is still broken, and I will try to fix that, too.)
2019-02-17 21:34:40 -06:00
Grant Sanderson
b2c7e83843 Removed ContinualAnimation, reimplemented some of its occurances in the old_projects, added warnings for the rest 2019-02-16 12:46:54 -08:00
Grant Sanderson
3b9c085cf1 Typo fix 2019-02-16 12:08:36 -08:00
Grant Sanderson
e1deb770c8 Remove all support of ContinualAnimations from Scene 2019-02-16 12:08:16 -08:00
Grant Sanderson
829b3d9210 Merge branch 'master' of github.com:3b1b/manim into kill-continual-animations 2019-02-15 20:08:16 -08:00