Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redayzarra/study-manim
These are all my notes, lessons, and tutorials I have followed to learn 3b1b's Manim library. Manim is a python animation library that allows users to create graphs, visuals, animations, and even write LaTeX math formulas. I hope to finish the tutorials and create my own YouTube videos for viewers to learn concepts visually.
https://github.com/redayzarra/study-manim
animation manim manim-3b1b manim-animations manim-engine manim-python manimce python python-library python3
Last synced: about 1 month ago
JSON representation
These are all my notes, lessons, and tutorials I have followed to learn 3b1b's Manim library. Manim is a python animation library that allows users to create graphs, visuals, animations, and even write LaTeX math formulas. I hope to finish the tutorials and create my own YouTube videos for viewers to learn concepts visually.
- Host: GitHub
- URL: https://github.com/redayzarra/study-manim
- Owner: redayzarra
- Created: 2023-03-09T16:38:21.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-28T16:50:33.000Z (6 months ago)
- Last Synced: 2024-06-29T03:02:59.870Z (6 months ago)
- Topics: animation, manim, manim-3b1b, manim-animations, manim-engine, manim-python, manimce, python, python-library, python3
- Language: Python
- Homepage:
- Size: 73.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Manim Usage Guide
This guide will help you get started with creating animations using Manim. Below are the essential commands you need to know.
## Creating a Manim Scene
My custom user snippet for starting a new `scene.py` is:
```python
gomanim or manim
```Which effectively types:
```python
from manim import *
from components.watermark import create_watermarkclass Classname(Scene):
def construct(self):
self.construction()
self.animate_scene()def construction(self):
"""
Define and position the elements of the scene.
"""def animate_scene(self):
"""
Add elements to the scene and animate them.
"""
# Add watermark
watermark = create_watermark()
self.add(watermark)```
## Running Manim
In the terminal, I need to go to the directory of `scene.py` and type:```bash
manim scene.py [Class name]
```
or alternatively```bash
python -m manim scene.py [Class name]
```## Video Settings
For **Low Quality** preview videos:
```bash
manim -pql scene.py [Class name]
```For **High Quality** final videos:
```bash
manim -pqk scene.py [Class name]
```To change the aspect ratio and resolution of videos add this:
```python
from manim import *# For vertical content
config.pixel_width = 1080
config.pixel_height = 1920
config.frame_width = 9
config.frame_height = 16class ClassName(Scene):
def construct(self):```
## Creating a GIF's
I can also create GIF's of different qualities with the flag:
```bash
manim --format=gif scene.py [Class name]
```
## Getting last frame
You can get the last frame of scene with:
```bash
manim -sqk scene.py [Class name]
```