66 Commits

Author SHA1 Message Date
314649c96f Added the option to change color in extract scene.
This edits the camera config in the same way as the resolution argument or transparency flag. Inputs can either be strings, 3 digit hex strings, or 6 digit hex strings. In a Unix terminal the hex strings will have to be prepended with a '\'.
2018-09-08 12:57:33 -04:00
df5d45e5ae Updated extract_scene to use importlib 2018-08-11 17:15:38 -07:00
858051a806 After running 2to3 2018-08-09 17:56:05 -07:00
06a65190e7 Enable specification of resolution from command line 2018-08-09 11:26:02 -07:00
f9ce36c6f6 Camera background is opacity 0 when -t is passed in, otherwise 1 2018-08-08 11:50:34 -07:00
4075bb35c6 Temporarily removing relative imports 2018-07-11 12:26:24 -07:00
f03268d007 Modernize Python 2 code to get ready for Python 3 yet again 2018-06-02 08:59:26 -04:00
13d7228918 Revert "Merge branch 'master' of github.com:3b1b/manim into alt-calc"
This reverts commit 17a1ea6db500eddfdec75cc727b70737d892e961, reversing
changes made to c8c6e6d9ba77d42c8d50d8187ca2b0427da0079c.
2018-05-21 12:11:46 -07:00
b2b66947db reverted to earlier version 2018-05-16 21:17:14 +02:00
2a74f3a687 This try loop was hiding some more legitimate import errors 2018-05-11 13:14:54 -07:00
6fa024b773 removed print call 2018-05-09 20:24:22 +02:00
d4f3d3c584 make extract_scene play nicer with Sublime build system 2018-05-09 18:23:01 +02:00
4504fa3819 Fixed problem with output_directory_getters.py on new files 2018-05-01 01:53:59 -07:00
65783e2738 Improved stage_scenes and refactored get_movie_output_directory methods 2018-04-29 10:47:53 -07:00
5a1ba37a9d Update extract_scene.py
Use the "start" command on Windows to open files instead of "open" on Mac OS or "xdg-open" on Linux.
This helps solving "The system cannot find the path specified" issue #173.
2018-04-09 00:54:22 +02:00
d4392de600 Changed all files to (mostly) conform to PEP8 2018-04-06 13:58:59 -07:00
7c272c6236 Merge pull request #196 from 3b1b/eola2
Eola2
2018-04-06 13:09:53 -07:00
dae3b63fd5 [PREVIEW] If one is under Linux, use the command 'xdg-open' to open the generated video. 2018-04-05 11:33:39 +02:00
b82a713d16 Tiny change to imports 2018-04-04 13:34:31 -07:00
c82417e008 Moved moved matrix.py to mobject, and pulled out MatrixMultiplicationScene 2018-04-01 10:21:42 -07:00
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
9560b0b077 Refactored helpers.py into a folder of various util files, take 2 2018-03-30 18:42:32 -07:00
8fae39fe82 Refactored helpers.py into a folder of various util files 2018-03-30 18:19:23 -07:00
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
4c6af541c1 Switched WindingNumber to use np.linspace; also, fixed missing colon in extract_scene.py 2018-02-15 15:37:19 -08:00
551501b69e extract_scene now behaves more as expected when passed explicit output file names already containing an extension 2018-02-15 14:43:55 -08:00
9cfab5c2ed Better convention for -n flag 2018-02-10 22:45:46 -08:00
b9ef9f6fc0 Enabled adding end animation number with -n flag 2018-02-10 22:34:39 -08:00
acb709a725 Specify Python version 2018-01-28 20:50:46 +01:00
7f97616c42 Feature: Scene.wait_to(time)
Can be useful for audio fitting, ignored in preview
2018-01-28 20:49:02 +01:00
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
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
ffcd9b5767 Changed the defaults for where animations are written, and where images for ImageMobject and SVGMobject are sought after 2018-01-12 13:38:25 -08:00
83a48b82a3 Update extract_scene for better argument parsing 2018-01-12 12:37:02 -08:00
c7214005ae Ability to export PNG sequence
While writing to a movie file, if you specify -f it will export a png
sequence in a folder with the same name like the scene. The ability to
export transparent PNG sequences adds the ability to change the
background afterwards.
2017-12-22 13:00:13 +01:00
384915d5a7 Change "print " lines to "print(" lines 2017-10-05 21:03:30 -05:00
9958a73059 Beginning nn project 2017-09-26 17:41:45 -07:00
3c2f6a1402 Merge branch 'master' of github.com:3b1b/manim 2017-08-09 17:06:51 -07:00
fc4d87e613 OfferAHybrid in HighD 2017-08-07 17:16:31 -07:00
ff3a214328 Beginning highD project 2017-08-05 20:47:06 -07:00
1467e02d18 Added support for Windows 2017-06-29 14:33:01 +03:00
28c664ceb6 Just starting Bayes video for eop 2017-06-05 21:35:09 -07:00
f3eb43f96f Fixed -o flag functionality for extract_scene.py 2017-05-09 14:54:50 -07:00
b1e6c9c916 Whoops, forgot to change tk_scene.py 2017-05-09 14:21:03 -07:00
18b2267c7e Scenes now pass frames directly to ffmpeg pipe when writing movies, rather than saving them all up in bulk then passing in the list 2017-05-09 13:14:08 -07:00
996cb5f36c Modified sound when done if runtime error (in case of quitting if -p is present) 2017-05-08 12:22:55 +02:00
dc24f0eaf4 Actual end to eoc5 2017-03-15 15:41:08 -07:00
315886de5b Preliminary end to eoc5 animations 2017-03-14 15:50:16 -07:00
cc9aace93f Finished recursive solution to constrained Hanoi 2016-11-18 21:23:52 -08:00
4378aac88b Up to binary counting introduction in hanoi.py 2016-11-16 17:10:48 -08:00