Grant Sanderson
9e96c4db81
Merge pull request #447 from jeanimal/patch-1
...
Fix Ellipse constructor: 'width' is not defined
2019-02-18 12:45:24 -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
b2ad5e2173
Merge pull request #443 from 3b1b/kill-continual-animations
...
Kill continual animations
2019-02-16 12:54:33 -08:00
Grant Sanderson
37164a640e
Tiny bug fix to old_projects/clacks/question.py
2019-02-16 12:49:51 -08: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
Grant Sanderson
f451ce9862
Merge pull request #442 from 3b1b/aliquot
...
Small VMobject changers
2019-02-15 20:07:03 -08:00
Grant Sanderson
89824e3d52
continual_update -> update_mobjects
2019-02-15 20:05:45 -08:00
Grant Sanderson
e09fa811e5
Some preliminary changes to get rid of ContinualAnimation dependencies
2019-02-15 20:05:16 -08:00
Grant Sanderson
95efe9fd6e
Scaffolding for AmicableNumbers Scene
2019-02-15 16:23:24 -08:00
Grant Sanderson
b2e1024e83
Merge branch 'master' of github.com:3b1b/manim into align-to-changes
2019-02-15 16:22:56 -08:00
Grant Sanderson
c6bb29ce26
Added f_always
2019-02-15 15:16:11 -08:00
Grant Sanderson
18de4c5404
Make it sound that Polygon.round_corners leaves it with evenly distributed anchors
2019-02-15 15:16:02 -08:00
Grant Sanderson
6e99da9def
Remove make_jagged
2019-02-15 15:15:32 -08:00
Grant Sanderson
4fbe67f262
Added general get_arc_length to VMobject
2019-02-15 15:15:07 -08:00
Grant Sanderson
7c2f98df0f
Merge pull request #441 from 3b1b/align-to-changes
...
Refactored make_smooth and make_jagged
2019-02-15 14:24:25 -08:00
Grant Sanderson
7f793f59c9
Merge branch 'master' of github.com:3b1b/manim into align-to-changes
2019-02-15 14:22:47 -08:00
Grant Sanderson
c47329660f
Refactored make_smooth and make_jagged
2019-02-15 14:22:01 -08:00
Devin Neal
295c645548
Merge pull request #440 from eulertour/file-env-var
...
Optionally specify files directory with FILE_DIR environment variable
2019-02-15 13:01:01 -08:00
Devin Neal
766e5a12b4
add option to specify files directory
2019-02-15 20:37:42 +00:00
Grant Sanderson
aeb0193974
Merge pull request #439 from 3b1b/align-to-changes
...
Align to changes
2019-02-15 11:51:49 -08:00
Grant Sanderson
d943f10123
Fixed make_jagged
2019-02-15 11:51:18 -08:00
Grant Sanderson
e0ef531f49
Remove make_jagged from Cube
2019-02-15 11:48:58 -08:00
Grant Sanderson
9b5de02756
Fix logo
2019-02-15 11:48:37 -08:00
Grant Sanderson
a6dd906983
Remove commented out Arrow tip_length default
2019-02-15 11:48:23 -08:00
Grant Sanderson
7cb678c3ae
Merge pull request #438 from 3b1b/align-to-changes
...
OldLaggedStart -> LaggedStartMap
2019-02-14 12:08:41 -08:00
Grant Sanderson
993f7edee9
OldLaggedStart -> LaggedStartMap
2019-02-14 12:06:21 -08:00
Grant Sanderson
3a88827cc7
Merge pull request #437 from 3b1b/align-to-changes
...
Align to changes
2019-02-14 11:36:33 -08:00
Grant Sanderson
4a00161bee
Fixed NumberPlane
2019-02-14 11:34:55 -08:00
Grant Sanderson
643955ab1c
Added warning to usage of OldLaggedStart
2019-02-14 11:34:42 -08:00
Grant Sanderson
4fd27febf9
Fixed OpeningManimExample
2019-02-14 11:34:21 -08:00
Grant Sanderson
4aa63198d7
Fixed align_to
2019-02-14 11:34:06 -08:00
Grant Sanderson
f6d6958c2d
Merge pull request #434 from Mrcer/master
...
Import the function "rotate_vector"
2019-02-13 11:14:06 -08:00
Mrcer
2375f3675b
Import the function "rotate_vector"
2019-02-13 16:32:37 +08:00
Grant Sanderson
1a598a002d
Changed FadeInFrom default lag ratio
2019-02-12 09:44:26 -08:00
Grant Sanderson
9b2c2c4784
Merge pull request #397 from fwcd/master
...
Made sure to always encode written TeX files as UTF-8
2019-02-12 09:40:20 -08:00
Grant Sanderson
d3a68aff1e
Added new LaggedStart default lag_ratio
2019-02-11 22:37:52 -08:00
Grant Sanderson
e278c55cbe
Change default FadeIn and FadeOut lag_ratio
2019-02-11 22:30:51 -08:00
Grant Sanderson
776f2707a5
Change default lag_ratio to something very small
2019-02-11 22:25:22 -08:00
Grant Sanderson
ff53c57d9d
Tiny line swap
2019-02-11 22:25:02 -08:00
Grant Sanderson
312e9c460b
Add an option to not display zero by default
2019-02-11 22:24:17 -08:00
Grant Sanderson
b2608d7b93
Use null_point_align
2019-02-11 22:24:02 -08:00
Grant Sanderson
03d88bc926
Use Mobject.become instead of Transform.update(1)
2019-02-11 22:23:33 -08:00
Grant Sanderson
1735f16d68
Fixed NumberLine bug
2019-02-11 22:14:00 -08:00
Grant Sanderson
86d3ade0ef
Change restore implementation using become
2019-02-11 21:18:08 -08:00
Grant Sanderson
f429f46df8
Got rid of fade_no_recurse idea
2019-02-11 21:15:15 -08:00
Grant Sanderson
b2625b0667
Whoops, left a print statement
2019-02-11 20:55:19 -08:00
Grant Sanderson
1aaef5aba9
Change where Animation.begin is invoked
2019-02-11 20:53:20 -08:00