There is an example file in the downloaded manim package.
C:/now/manim/example_scenes.py
Here is sample code to create multiple videos.
In this page, I will show you how to run this example_scenes.py in PyCham.
1. If there is no file of example_scenes.py in the C:/now/manim folder, please copy & paste from the original directory extracted the files from the downloaded zip file.
2. Run PyCham program and open 'manim' project created in the previous chapter.
3. Open example_scenes.py file by double-clicking in the Project Explorer window in the PyCham.
4. Modifiy Run/Debug Configurations like below.
5. Press Shift-F10 key
Now, when you press Shift-10 key to execute, a list of 5 classes will be displayed as below, and you will be asked for the number of which class to select.
Type a number you want to create.
Created video will be as follows:
1. OpeningManimExample
2. SquareToCircle
3. UpdatersExample:
4. WarpSquare
5. WriteStuff
Next: [03-5] Manim execution arguments
Go To: [99] Table of Contents
'Programming > Manim Lectures' 카테고리의 다른 글
[03-6] Manim Components : Coordinate, Mobject, Animation) (0) | 2020.06.01 |
---|---|
[03-5] Manim execution arguments (0) | 2020.06.01 |
[03-3] Explain about "Hello Manim" code (0) | 2020.05.31 |
[03-2] Create "Hello Manim" (PyCham) (0) | 2020.05.31 |
[03-1] Create "Hello Manim" (notepad++) (0) | 2020.05.31 |