How to use manim - 1 common examples

To help you get started, we’ve selected a few manim examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github 3b1b / manim / View on Github external
from big_ol_pile_of_manim_imports import *
from manim import Manim

manim = Manim()

circle = Circle()
square = Square()
line = Line(np.array([3,0,0]),np.array([5,0,0]))
triangle = Polygon(np.array([0,0,0]),np.array([1,1,0]),np.array([1,-1,0]))




Animation engine for explanatory math videos.

Latest version published 21 days ago

Package Health Score

90 / 100
Full package analysis

Popular manim functions