Guide for Manim Users

JAnim has many similarities with Manim in usage, especially for users of Manim, it will be easier to get started with JAnim.

Below is a comparison table of some functionalities between Manim and JAnim:

Functionality

Manim

JAnim

Notes

Object/Item

Mobject, VMobject

Item, VItem

Advance time

self.wait(duration)

self.forward(duration)

Add object to scene

self.add(xxx)

self.show(xxx)

You can also use xxx.show()

Rectangle

Rectangle

Rect

Rounded Rectangle

RoundedRectangle

RoundedRect

Surrounding Rectangle

SurroundingRectangle

SurroundingRect

Set VItem stroke width

xxx.set_stroke(width=stroke_width)

xxx.radius.set(stroke_radius)

The meaning of stroke width differs, please try it yourself

Object Animation

xxx.animate

xxx.anim

Animation Group

AnimationGroup

AnimGroup

There are some differences in effects

Updaters

xxx.add_updater

DataUpdater, GroupUpdater, etc.

Significant differences in usage

Move to the edge/corner of the screen

to_edge, to_corner

to_border()

For further learning, please read the content on the Getting Started page.

Feel free to add more information to this page!