Commit graph

166 commits

Author SHA1 Message Date
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
858051a806 After running 2to3 2018-08-09 17:56:05 -07:00
Grant Sanderson
f9ce36c6f6 Camera background is opacity 0 when -t is passed in, otherwise 1 2018-08-08 11:50:34 -07:00
cclauss
f03268d007 Modernize Python 2 code to get ready for Python 3 yet again 2018-06-02 08:59:26 -04: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
ecd48d885e Start tracking pixel_height and pixel_width instead of pixel_shape, since all uses of it involved unpacking anyway, and the ordering makes it harder to read and edit. 2018-05-14 13:52:44 -07:00
Grant Sanderson
4504fa3819 Fixed problem with output_directory_getters.py on new files 2018-05-01 01:53:59 -07:00
Grant Sanderson
664546d44c added utils/output_directory_getters.py 2018-04-29 10:52:48 -07:00
Grant Sanderson
65783e2738 Improved stage_scenes and refactored get_movie_output_directory methods 2018-04-29 10:47:53 -07:00
Grant Sanderson
d4392de600 Changed all files to (mostly) conform to PEP8 2018-04-06 13:58:59 -07:00
Grant Sanderson
fc3dc64805 Refactor many definitions out of topics and into folders within mobject 2018-03-31 18:05:02 -07: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
Grant Sanderson
8fae39fe82 Refactored helpers.py into a folder of various util files 2018-03-30 18:19:23 -07:00
Grant Sanderson
8125e4d320 Changed output directories (again) so that different resolutions go to different subdirectories 2018-03-06 18:25:09 -08:00
Grant Sanderson
27eaa322fb Change redered filed directory names
Default behavior is now to include the render quality in the name of the directory where files are written, so that low quality tests don't necessarily clobber the existing HD versions.
2018-03-06 13:39:59 -08:00
Grant Sanderson
ec610a9152 Really dumb copy-pasting of extract_scene.py and scene.py from master to get what I want. Not sure what's going on here. 2018-02-26 19:07:57 -08:00
Grant Sanderson
e34f66fafe Merge branch 'master' of github.com:3b1b/manim into lighthouse2 2018-02-21 10:03:53 -08:00
Grant Sanderson
1d09e5e960 Fixed bits of funny behavior with skip_animations 2018-02-20 22:59:38 -08:00
Grant Sanderson
6ff937e893 Fixed one-off error for number of frames rendered during an animation, and made it so that a final frame is always rendered after the construct method is called 2018-02-20 17:50:39 -08:00
Grant Sanderson
47d1f8d446 Made .mov and .mp4 codec arguments analogous 2018-02-20 16:45:19 -08:00
Grant Sanderson
d3a39f2e65 Enabling transparent background of exported videos 2018-02-20 14:03:59 -08:00
Grant Sanderson
5639f2e6c3 Use generate_target in method compiling of scene.play 2018-02-20 11:28:11 -08:00
Ben Hambrecht
88dfb772f6 Merge branch 'master' into lighthouse2 2018-02-20 11:26:11 +01:00
Grant Sanderson
4fdab1ae98
Merge pull request #130 from 3b1b/WindingNumber
Winding number
2018-02-19 17:25:41 -08:00
Grant Sanderson
95357f90a1 Fixed how continual animations are handeled when skip_animations is set 2018-02-19 17:24:17 -08:00
Grant Sanderson
e632be304d Removed sync_animation_run_times_and_rate_funcs, and changed
the implementaiton of Scene.play and AnimationGroup so as to
not change the run_time and rate_func of the animations passed
in.
2018-02-19 16:51:47 -08:00
Sridhar Ramesh
1fe0508fb2 More intuitive behavior when explicit filenames are provided with extensions 2018-02-19 14:32:35 -08:00
Ben Hambrecht
a3d21911fd Merge branch 'master' into lighthouse2 2018-02-15 09:38:38 +01:00
Grant Sanderson
1bea7fc8c5 Made naming by quality optional 2018-02-13 11:44:04 -08:00
Grant Sanderson
6f829c98fb Tie the render quality of a scene to its name so that files don't overwrite each other 2018-02-12 20:14:07 -08:00
Ben Hambrecht
7dde8cfdf2 Merge branch 'master' into lighthouse2 2018-02-12 09:54:49 +01:00
Grant Sanderson
9cfab5c2ed Better convention for -n flag 2018-02-10 22:45:46 -08:00
Grant Sanderson
b9ef9f6fc0 Enabled adding end animation number with -n flag 2018-02-10 22:34:39 -08:00
Ben Hambrecht
b4fe022fc2 typo 2018-02-10 16:15:37 +01:00
Ben Hambrecht
ceccddd262 fixed copying problem in animation 2018-02-06 11:13:55 +01:00
Grant Sanderson
e1390692be Tiny cleanup 2018-01-29 21:29:36 -08:00
Grant Sanderson
bc23fbc342
Merge branch 'master' into master 2018-01-29 16:59:00 -08:00
Sridhar Ramesh
55a6a0b906 Minor cleanup 2018-01-29 13:46:38 -08:00
Sridhar Ramesh
55a723a284 Fixed bugs in Succession and AnimationGroup, and also created purely virtual Container class from which both Scene and MObject derive (conceptually unifying their remove/add methods) 2018-01-29 13:34:06 -08:00
mirefek
7f97616c42 Feature: Scene.wait_to(time)
Can be useful for audio fitting, ignored in preview
2018-01-28 20:49:02 +01:00
Grant Sanderson
b93e28754f Whoops, some lingering changes that should have been in last commit 2018-01-23 12:19:56 -08:00
Grant Sanderson
eabe989eda Resolved a few merge conflicts 2018-01-23 12:18:19 -08:00
Grant Sanderson
1ffbc77eda Bug fix to ApplyMethod treatment of method kwargs 2018-01-20 11:45:47 -08:00
Grant Sanderson
d07efc6cb5 When calling Scene.play on a method followed by its args, if you end the list with a dict, it will interpret it as the kwargs of the method. 2018-01-20 11:19:12 -08:00
Grant Sanderson
e6df91d03e Small bug fix to foreground mobject behavior during an animation 2018-01-19 18:57:52 -08:00
Grant Sanderson
78b660bb92 Fixed bug with creating image directories 2018-01-19 18:46:23 -08:00
Grant Sanderson
4e468af656 Update extract_scene.py args to better support previewing, showing in finder, opening output files, etc. 2018-01-19 17:31:31 -08:00
Grant Sanderson
22d6d2dba5 Further fourier work 2018-01-19 12:50:05 -08:00