“Splitting points” for a scene? #2510
jaybonthius
started this conversation in
Architecture
Replies: 1 comment 1 reply
-
Take a look at Sections here: https://docs.manim.community/en/stable/tutorials/a_deeper_look.html#sections |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to “split” my scene into multiple video files (for importing into a slides presentation). I understand that each
self.play(...)
makes apartial_movie_file
, but that doesn't solve my problem: it would generate too many files for loop situations, and the filenames are randomly generated. Here's a minimal working example:Currently, this renders 11 partial movie files and one complete file
example.mp4
. I'd like to generate two videos from this scene: one where the circle is created, and one for the entire loop of changing colors, both named in sensible ways (e.g.example_1.mp4
andexample_2.mp4
. Is there some way to do this programmatically? Some sort ofself.split()
method?Beta Was this translation helpful? Give feedback.
All reactions