Commit graph

3013 commits

Author SHA1 Message Date
Grant Sanderson
ff87e2bfbc More clack animations 2019-01-17 14:12:14 -08:00
Grant Sanderson
e2e6fad114 Add Circle.get_point_from_angle, and arc_center config variable for arc 2019-01-17 14:10:52 -08:00
Grant Sanderson
8820d4b339 Make default student the rightmost one 2019-01-17 14:10:17 -08:00
Grant Sanderson
5aa11cf8ad Fixed a problem where in zooming in, stroke widths all grew 2019-01-17 14:09:50 -08:00
Grant Sanderson
66075aa5d2 Added ShowIncreasingSubsets 2019-01-17 14:09:15 -08:00
Grant Sanderson
7e0f30614a Added rudimentary sound abilities to scene 2019-01-16 11:10:43 -08:00
Grant Sanderson
6652dc6006 Make it okay to call Mobject.update without a change in time 2019-01-16 11:09:42 -08:00
Grant Sanderson
e63074a72e 2*np.pi -> TAU. Because why not? 2019-01-16 11:09:16 -08:00
Grant Sanderson
8ec9e4d425 Clean up Axes.__init__ slightly 2019-01-16 11:08:54 -08:00
Grant Sanderson
214ba5979b Added --leave_progress_bars option, with the deault being to remove them 2019-01-16 11:08:14 -08:00
Grant Sanderson
1064f80d5b Added ShowCreationThenFadeOut 2019-01-16 11:07:36 -08:00
Grant Sanderson
e5e233262c CircleThenFadeAround -> ShowCreationThenFadeAround 2019-01-15 12:20:43 -08:00
Grant Sanderson
633050c02a Added Scene.wait_until and changed time_progression defaults 2019-01-15 12:19:09 -08:00
Grant Sanderson
236d67456a Removed nargs from several bit of configuration 2019-01-15 12:18:28 -08:00
Grant Sanderson
f3178edff0 Added stop_condition to Scene.wait 2019-01-14 13:26:58 -08:00
pdcxs
27f1dfe75b Replace backslash to slash only on windows platform 2019-01-14 10:45:36 +08:00
pdcxs
ac87738701 Only change backslash on windows 2019-01-14 10:38:54 +08:00
pdcxs
cb76ec1270 Fix file problem when combine videos on Windows 2019-01-13 23:35:05 +08:00
pdcxs
56ed3538f6 Fix the file problem when combine videos on Windows 2019-01-13 23:29:46 +08:00
Grant Sanderson
ee52eae965 Changed animation complete message 2019-01-12 14:43:44 -08:00
Grant Sanderson
4ab4736a11 Cleaned up and added some documentation to config.py 2019-01-12 14:42:42 -08:00
Grant Sanderson
199a3b82c6 Make it possible to render multiple scenes 2019-01-12 12:31:29 -08:00
Grant Sanderson
4ae38cd9b8 Updates to logo object 2019-01-11 14:24:30 -08:00
Grant Sanderson
7902724567 have get_sorted_integer_files return list 2019-01-11 14:23:39 -08:00
Grant Sanderson
5ea1a37d4c Remove STAGED_SCENES_DIR 2019-01-11 14:23:03 -08:00
Grant Sanderson
ec92af6074 Best to keep the partial video outputs from cluttering things up too much 2019-01-10 17:45:56 -08:00
Grant Sanderson
8931a88b3f A few fixes to the last commit, making sure different file extensions don't mess with the system 2019-01-10 17:29:16 -08:00
Grant Sanderson
2419fbcc53 Changed the way Scene write to videos, where it writes each play or wait call as a separate file, and later concatenates them together. 2019-01-10 17:06:22 -08:00
fwcd
dee8101991 Removed redundant import 2019-01-09 23:53:38 +01:00
fwcd
f48eb6d94e Made sure to always encode written TeX files as UTF-8 2019-01-09 23:44:59 +01:00
Grant Sanderson
67ae6bf3a8 Make sure smooth returns values only between 0 and 1 2019-01-09 12:51:41 -08:00
Grant Sanderson
2f6fc82ecb Small fix to DecimalNumber 2019-01-09 12:51:14 -08:00
Grant Sanderson
8e0fae4663 Make Mobject.get_critical_point use get_poitns_defining_boundary 2019-01-09 12:50:37 -08:00
Grant Sanderson
641a429e66 Fixed stage_scenes, which required updating get_scene_output_directory and get_module 2019-01-09 12:49:43 -08:00
Grant Sanderson
d98d1ec610 Changed default behavior to have no finishing sound, and instead of passing in --no-sound to prevent the sound, one would pass in --sound to activate it 2019-01-07 13:24:16 -08:00
Grant Sanderson
cf958684e8 Moved uncertainty Flash animation into indication, and cleaned up for more general use 2019-01-05 11:08:08 -08:00
Grant Sanderson
d222c8aa14 Add increment function to Integer 2019-01-04 14:14:15 -08:00
Grant Sanderson
3649547862 Small fix to Mobject.fade_to 2019-01-04 14:13:52 -08:00
Grant Sanderson
662598fcef Make sure rotate_vector works on 2d vectors 2019-01-04 12:48:05 -08:00
Grant Sanderson
56f331e8c4 Added Scene.tear_down in symmetry with Scene.setup 2019-01-04 12:47:48 -08:00
Grant Sanderson
6c78110e0f Changed default TexMobject.background_stroke_width to something less ugly in general 2019-01-04 12:47:26 -08:00
Grant Sanderson
b7cb66fe5d Tiny PEP fix 2019-01-04 12:46:52 -08:00
Grant Sanderson
ba88104177 Added set_style, get_style, and improved match_stlye 2019-01-04 11:50:06 -08:00
Purusharth Saxena
739be6a9b2 Added to camera.py (#387) 2019-01-03 13:42:43 -08:00
Devin Neal
1de67af678
allow rendering scenes from any directory (#391) 2019-01-03 13:42:02 -08:00
Devin Neal
4d069db15c
add option to suppress success/failure sound (#385) 2018-12-30 12:53:38 -08:00
F.W
11781a5baa Use os.openfile() on Windows and gitignore media folder (#384)
* Gitignored media and .vscode

* Switched to os.startfile for Windows
2018-12-29 17:37:28 -08:00
Thomas Zhu
47d8caa80e Use os.devnull instead of utils.tex_file_writing.get_null(); also small typos that cause SyntaxError (#382)
* Update tex_file_writing.py

* Change "/dev/null" to os.getnull in utils/sounds.py SoX "play" command

* Fix typo
2018-12-29 09:27:03 -08:00
Devin Neal
54d43313be print to stderr for scene not found 2018-12-28 23:06:14 -08:00
Liu Zichen
87884c0054
small typo corrected 2018-12-28 20:22:38 +08:00