manim_mob

Wrapping a Manim Mobject as an Algan Mob.

ManimMob takes an already-constructed Manim Mobject and converts its cubic-Bezier vector geometry into Algan control points, producing a first-class Mob: Algan’s animation, materials and renderer all apply to it, and Manim’s renderer is not involved.

One Manim Mobject becomes a whole Algan sub-hierarchy, since Algan collects render primitives from the Scene’s actor list rather than by walking the hierarchy – so every renderable part is registered in its own right unless the conversion is batched, in which case one batched Mob renders in their place.

Image submobjects are converted to ImageMob. Geometry that is neither bezier nor image raises NotImplementedError: this is a geometry bridge, not an arbitrary bridge to Manim’s renderer.

The compatibility classesAxes, Brace and the rest, constructed without touching manim yourself – are in algan.mobs.manim_compat.

See Importing From Manim.

Classes

ManimMob

Constructs an equivalent Algan Mob from a given Manim Mobject.