Commit graph

201 commits

Author SHA1 Message Date
Grant Sanderson
cd3c1c3feb Mobject.clear_updaters now returns self 2018-11-18 10:29:41 -06:00
Grant Sanderson
c95fb5fe46 Renamed ANIMATION_DIR to VIDEO_DIR, also replacing 'animations' with 'video' in the path 2018-10-30 12:28:22 -07:00
Grant Sanderson
4a226e1d22 Fixed get_boundary_point and get_points_defining_boundary 2018-10-05 17:18:49 -07:00
Grant Sanderson
656a1d8b8e Added get_z_index_reference_point 2018-09-27 17:34:45 -07:00
Grant Sanderson
9a85754014 Better Mobject.become 2018-08-30 14:24:25 -07:00
Grant Sanderson
dd2ee72900 Safer default for Mobject.apply_matrix 2018-08-28 09:44:10 -07:00
Grant Sanderson
b42e772563 Mobject should update when an updater is added (by default at least) 2018-08-27 16:32:12 -07:00
Grant Sanderson
0b003fff44 More robust Mobject.become 2018-08-26 13:17:23 -07:00
Grant Sanderson
979cd3a38f Add copy_submobjects option to Mobject.become 2018-08-25 18:31:41 -07:00
Grant Sanderson
7912f6f2d3 Implmented ThreeDScene.add_fixed_orientation_mobjects and ThreeDScene.add_fixed_in_frame_mobjects 2018-08-22 14:48:42 -07:00
Grant Sanderson
98a7f254ee Remaining submobject_family -> get_family 2018-08-21 19:16:51 -07:00
Grant Sanderson
51e6b66c95 submobject_family -> get_family 2018-08-21 19:15:16 -07:00
Grant Sanderson
1c348cbe95 Added Mobject.get_pieces 2018-08-20 15:49:31 -07:00
Grant Sanderson
6f57a8bc5e Performance improvements to 3d constructs 2018-08-16 22:25:51 -07:00
Grant Sanderson
365093c0b5 np.linalg.norm -> get_norm 2018-08-15 17:30:24 -07:00
Grant Sanderson
f926611d34 Added preliminary 3d animation abilities with (as of now poorly shaded) parametric curves 2018-08-15 16:23:29 -07:00
Grant Sanderson
56d2dce133 Typo fix 2018-08-12 19:14:37 -07:00
Grant Sanderson
b04bddf35b Fixed (most) uses of cmp functions for sorting 2018-08-12 12:57:38 -07:00
Grant Sanderson
5b5a83b316 Added Mobject.update capabilties, which should be nicer and lighter weight than using ContinualUpdateFromFunc all the time. Also changed the behavior of any Animation having its mobject automatically thrust up to the front of the screen 2018-08-12 12:17:32 -07:00
Grant Sanderson
693c98cea7 Made sure get_boudary_point uses self.get_points_defining_boundary 2018-08-11 18:42:48 -07:00
Grant Sanderson
5b9afe6e86 Bug fixes to new VMobject color model 2018-08-11 16:53:37 -07:00
Grant Sanderson
087715e538 Reimplented svg rendering using cairo, and changed vmobject color model to allow for gradeints and strokes with opacities. Many errors associated with python 2 to python 3 conversion are likely still present at this point. 2018-08-10 15:12:49 -07:00
Grant Sanderson
858051a806 After running 2to3 2018-08-09 17:56:05 -07:00
Grant Sanderson
c520d0b517 Added Mobject.become method 2018-08-09 11:09:24 -07:00
Grant Sanderson
7119f0cc6e scale_to_fit_width -> set_width, likewise for height and depth 2018-08-08 10:30:52 -07:00
Grant Sanderson
151a270913 Modernize Python 2 for Python 3 2018-07-11 11:38:59 -07:00
Grant Sanderson
28362f1547 Added Mobject.shuffle_submobjects 2018-06-18 13:27:42 -07:00
Grant Sanderson
b56ac7a6ed Tiny formatting fixes 2018-06-13 17:12:18 -07:00
Grant Sanderson
80dd37f763 div_curl project up to ChangingElectricField 2018-06-08 17:16:11 -07:00
Grant Sanderson
13d7228918 Revert "Merge branch 'master' of github.com:3b1b/manim into alt-calc"
This reverts commit 17a1ea6db5, reversing
changes made to c8c6e6d9ba.
2018-05-21 12:11:46 -07:00
Ben Hambrecht
b2b66947db reverted to earlier version 2018-05-16 21:17:14 +02:00
Grant Sanderson
f04b2e270c Refactoring how Camera frame height and width are handled 2018-05-11 17:41:37 -07:00
Grant Sanderson
f12370d40e Fix to last commit 2018-05-09 14:28:26 -07:00
Grant Sanderson
ff2b944067 Better fix to Mobject.reduce_across_dimension 2018-05-09 14:20:23 -07:00
Ben Hambrecht
7ce5674126 fixed bug for reduce_across_dimension for mobs with empty submobs 2018-05-09 18:22:30 +02:00
Ben Hambrecht
69d899a6fe trying (and failing) to get the pi creature to flash through the class 2018-05-08 13:23:24 +02:00
Grant Sanderson
3f4b17a785 Moved where stroke_width attr is defined 2018-05-07 13:37:29 -07:00
Grant Sanderson
4403399050 Made add_background_rectangle are more general method for all mobjects 2018-05-07 13:32:47 -07:00
Ben Hambrecht
85808eb905 bug in debugging method 2018-05-02 11:09:53 +02:00
Grant Sanderson
cf41cb8917 Tiny formating change 2018-04-16 14:17:34 -07:00
Grant Sanderson
1eaa035a10
Merge pull request #204 from 3b1b/eop
various improvements
2018-04-11 12:11:53 -07:00
Ben Hambrecht
43faec638e fix for copy bug (again) 2018-04-11 17:01:01 +02:00
Grant Sanderson
6e1dd54aeb Added assertion that apply_points_function_about_point does not receive None for both the about_point and about_edge 2018-04-10 19:47:04 -07:00
Ben Hambrecht
9e2ce6ea62 Merge branch 'master' into eop 2018-04-10 09:26:40 +02:00
Grant Sanderson
39ba60c452 Small stylistic fixes to mobject.py 2018-04-09 13:47:46 -07:00
Ben Hambrecht
0231820ab4 Merge branch 'master' into eop 2018-04-09 14:21:37 +02:00
Grant Sanderson
d4392de600 Changed all files to (mostly) conform to PEP8 2018-04-06 13:58:59 -07:00
Ben Hambrecht
18bac2e186 fixed typo 2018-04-05 22:53:52 +02:00
Grant Sanderson
0978984541 Reorganized animations folder. Warning: While I tried to be systematic, there is a decent chance this will cause import errors somewhere. 2018-03-31 15:11:35 -07:00
Grant Sanderson
9560b0b077 Refactored helpers.py into a folder of various util files, take 2 2018-03-30 18:42:32 -07:00