Commit graph

189 commits

Author SHA1 Message Date
Grant Sanderson
01ef5fc2c7 Several import fixes 2018-04-01 10:51:54 -07:00
Grant Sanderson
ca7930740b Factored probability and three_d constructs out of topics/ 2018-04-01 10:45:41 -07:00
Grant Sanderson
c82417e008 Moved moved matrix.py to mobject, and pulled out MatrixMultiplicationScene 2018-04-01 10:21:42 -07:00
Grant Sanderson
b37f212349 Moved topics/functions.py to mobject/, and moved topics/graph_scene.py to scene 2018-03-31 19:05:53 -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
087f66aca5 Reorganized camera folder 2018-03-31 15:20:30 -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
213c615870 Changed camera implementation by renaming space_shape to frame_shape, where its height and width actually correspond to the camera's height and width 2018-03-30 11:34:22 -07:00
Grant Sanderson
e168bfe5ba Rename SPACE_X_RADIUS to FRAME_X_RADIUS, and added constant FRAME_WIDTH (likewise for all y-coordinate information) 2018-03-30 11:25:37 -07:00
Grant Sanderson
55786e443d Renamed SPACE_WIDTH and SPACE_HEIGHT to SPACE_X_RADIUS and SPACE_Y_RADIUS to be less confusing 2018-03-30 11:03:14 -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
2ff564af39 Merge branch 'master' of github.com:3b1b/manim into lighthouse-grant 2018-02-26 11:39:51 -08:00
Grant Sanderson
bbfce118f2 Adds MovingCameraScene 2018-02-23 11:05: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
Grant Sanderson
44f9954dbd Enable -n command on extract_scene.py to skip to a given animation in a scene 2018-01-18 21:26:57 -08:00