Skip to content

Grid

Grid Parameters#

Paremeters - as mentioned in 3b1b Manim Documentation - are:

  • Constructor : NumberPlane

  • Parameters :

  • (x-min, x-max)
  • (y-min, y-max)

Grid Creation#

from manimlib import *

class GridExample(Scene):
    def construct(self):
        grid = NumberPlane((-10, 10), (-5, 5))
        self.play(ShowCreation(grid), run_time=3)
        self.wait(2)
from manim import *
import numpy as np

class OpeningManimExample(Scene):
    def construct(self):

        grid = NumberPlane((-10, 10), (-5, 5))
        self.play(Create(grid), run_time=3)
        self.wait(2)
Back to top