Grant Sanderson
9dd1f47dab
Create single progress display for full scene render
...
When a scene is written to file, it will now do a preliminary run of a copy of the scene with skip_animations turned on to count the total frames, which has the added benefit of catching runtime errors early, and allowing an quicker preview of the last frame to be sure everything will render as expected.
The Progress display bars for individual animations are replaced with a more global progress display bar showing the full render time for the scene.
This has the downside that all the non-rendering computations in a scene are run twice, so any scene with slow computations unrelated to rendering will take longer. But those are rarer, so the benefits seem worth it.
2021-11-30 11:41:33 -08:00
Grant Sanderson
7070777408
Tiny formatting change
2021-11-12 15:47:23 -08:00
Grant Sanderson
e20690b7c1
Don't necessarily remove anti_alias on ThreeDScene
2021-11-08 21:48:42 -08:00
Michael W
0e574882b3
Refactor #1637 ( #1650 )
...
* Refactor #1637
* Refactor #1637
* Refactor #1637
* Refactor #1637
* Refactor #1637
* Refactor #1637
* Update config.py
Co-authored-by: 鹤翔万里 <tonycrane@foxmail.com>
2021-10-16 13:04:52 +08:00
Grant Sanderson
4466cfe727
Merge branch 'master' into add_warnings
2021-10-15 12:12:36 -07:00
Grant Sanderson
f22a341e84
Save state before each embed
2021-10-11 06:22:41 -07:00
TonyCrane
7425057d9f
use rich to log
2021-10-07 17:37:10 +08:00
TonyCrane
fbccb1ebf3
add tips for embed mode
2021-10-06 17:34:46 +08:00
TonyCrane
f626a1a1e2
add tips for interactive mode
2021-10-06 17:28:18 +08:00
Grant Sanderson
acba13f499
Add Scene.point_to_mobject
2021-08-22 14:57:32 -07:00
Grant Sanderson
0787c4f362
Make sure framerate is 30 for previewed scenes
2021-08-21 17:07:20 -07:00
slowy07
1e621e8278
fix: fix typo spelling grammar
2021-08-07 22:25:26 +07:00
Grant Sanderson
8624168ed9
Merge branch 'master' into some1-video-changes
2021-07-28 07:53:04 -07:00
Grant Sanderson
354db4423f
Merge pull request #1578 from nutanstrek/patch-1
...
Minor fix for zooming
2021-07-28 07:50:42 -07:00
Grant Sanderson
f7bb5c1b8c
If there is multisampling, don't have an antialias width
2021-07-28 07:30:13 -07:00
Paras Sharma
4940ccac7d
Minor fix for zooming
...
It's weird that when you Scroll Up, the interactive shell zooms out.
So to fix this replace factor -> 1/factor .
2021-07-14 13:56:20 +05:30
Eric Brown
275cf94b06
Add frame to the scene when initialization
...
If we add an updater to the frame of the camera, and have not added the frame into the scene before, the updater will not work. So, I suggest to add the frame to the objects of the scene at the initilization stage.
2021-06-29 23:03:08 +08:00
Grant Sanderson
d1fc6c8ed7
Merge branch 'master' of github.com:3b1b/manim
2021-02-23 12:01:00 -08:00
Grant Sanderson
5008e20b8e
Tiny PEP fix
2021-02-23 11:59:08 -08:00
Casper da Costa-Luis
c92b6dbd0b
correct ascii fallback
2021-02-19 17:04:29 +00:00
Grant Sanderson
9bf51bda02
Remove unnecessary import
2021-02-12 13:34:50 -08:00
Grant Sanderson
e1e7b1e6c1
Changes to make reduce the time of from manimlib import *
2021-02-11 12:22:37 -08:00
Grant Sanderson
dba0550da5
Merge branch 'TonyCrane-package-improve'
2021-02-11 10:54:30 -08:00
Grant Sanderson
1798875396
Call Window.init_mgl_context and reorder Window.__init__
2021-02-10 14:48:00 -08:00
friedkeenan
d24ba30fde
Add .animate syntax
2021-02-10 07:43:46 -06:00
Tony031218
cbe016391b
delete old entry point file and add __init__ for folders
2021-02-07 17:48:51 +08:00
Grant Sanderson
28650b27dc
Move reconfigurable_scene.py to once_useful_constructs
2021-02-05 21:34:15 -08:00
Grant Sanderson
2c55f93512
Move (some) functionality from GraphScene to CoordinateSystem
2021-02-05 21:32:28 -08:00
Grant Sanderson
7a44d66ebc
Merge pull request #1355 from TonyCrane/fix-numberline
...
Fix GraphScene and NumberLine
2021-02-05 14:51:47 -08:00
Thierry Parmentelat
e7251bcc2f
handle_play_like_call decorator to use functools.wraps
...
this way, decorated methods - typically Scene.play - have a decent docstring
so first-time users can use help()
2021-02-05 11:10:17 +01:00
Tony031218
269128dfb6
fix NumberLine and GraphScene
2021-02-05 13:57:00 +08:00
Grant Sanderson
521e3ef143
Include wait in the embed shortcut commends
2021-02-03 14:19:20 -08:00
Sahil Makhijani
7b614bc968
Refactored Event Dispatching Mechanism
2021-02-02 16:04:50 +05:30
Sahil Makhijani
d6b23324a6
Interactive Mobjects Performance Improvements
2021-01-31 16:05:55 +05:30
Grant Sanderson
375bc2073d
Include save_state and restore as shortcut methods during an embed
2021-01-30 17:51:40 -08:00
Sahil Makhijani
a3754fa606
Interactive Mobjects added
2021-01-28 14:02:43 +05:30
Grant Sanderson
a58772db87
Fix writing to gifs
2021-01-23 16:08:39 -08:00
Grant Sanderson
0ac155d150
Making writing to partial movies optional, and set the default to be False.
2021-01-23 11:02:22 -08:00
Grant Sanderson
e4f888fbc4
Improved scrolling
2021-01-19 14:12:25 -08:00
Grant Sanderson
e08784400a
Reduce the need to type 'self.' so much when embedding into a scene.
2021-01-19 13:52:57 -08:00
Grant Sanderson
59af903f14
Reorganize the interaction between CameraFrame and shader perspective transforms, along with some keyboard interactions for panning
2021-01-18 16:39:29 -08:00
Grant Sanderson
f91c81dd6a
Rename TexMobject -> Tex and TextMobject -> TexText
2021-01-18 08:20:14 -10:00
Tony031218
f6b5edede2
reduce annoying errors
2021-01-16 10:21:42 +08:00
Tony031218
97ecfcda9b
remove media_dir.txt in scene/
2021-01-15 22:57:22 +08:00
Grant Sanderson
f61dfe7948
Tiny change
2021-01-13 00:35:39 -10:00
Grant Sanderson
ab0d5c58d4
Remove ZoomedScene
2021-01-12 12:35:16 -10:00
Grant Sanderson
4abf93e2aa
Remove MovingCameraScene
2021-01-12 12:33:59 -10:00
Grant Sanderson
0d238417cb
Allow locking data to speed up some animations
2021-01-12 11:09:53 -10:00
Grant Sanderson
ff37b589ff
Remove import
2021-01-09 10:26:20 -08:00
Grant Sanderson
8c7e93f829
Change to pan by scrolling
2021-01-08 22:26:14 -08:00