Manim Data Structures#
A plugin for Manim Community Edition that provides Manim objects for common data structures.
Installation#
Simply execute the following command to install the package:
$ pip install manim-data-structures
Usage#
To import the package in your script, add the following import statement:
from manim_data_structures import *
Variables#
Example: VarScene ¶
from manim import *
from manim_data_structures import *
class VarScene(Scene):
def construct(self):
var = MVariable(self, 10, 0, 'Var')
self.add(var)
Arrays#
Example: ArrayScene ¶
from manim import *
from manim_data_structures import *
class ArrayScene(Scene):
def construct(self):
arr = MArray(self, [1, 2, 3], label='Arr')
self.add(arr)
Next Steps#
Visit the Guides section to learn how to use the library.
Also check out the Reference Manual to view detailed documentation of the classes.