manim_compat¶
Compatibility Mobs backed by Algan’s vendored Manim Community geometry.
The compatibility layer is intentionally narrow at the rendering boundary:
Manim constructs and manipulates its normal Mobject graph, then ManimMob
converts the resulting cubic Bezier circuits into Algan render primitives. This
lets Algan expose Manim’s large collection of composite Mobjects without
copying the geometry algorithms, while all animation, materials and rendering
remain native to Algan.
Classes
A circular arc or elbow-type mobject representing an angle of two lines. |
|
A dot with bigger radius and bold stroke to annotate scenes. |
|
A sector of an annulus. |
|
Region between two concentric |
|
A circular arc. |
|
Inherits from Arc and additionally takes 2 points between which the arc is spanned. |
|
A generalized polygon allowing for points to be connected with arcs. |
|
A generalized polygon allowing for points to be connected with arcs. |
|
An arrow. |
|
An arrow made out of a cylindrical line and a conical tip. |
|
Circular arrow tip with filled tip. |
|
Circular arrow tip. |
|
Square arrow tip with filled tip. |
|
Square arrow tip. |
|
Base class for arrow tips. |
|
Triangular arrow tip with filled tip. |
|
Triangular arrow tip. |
|
A |
|
Creates a set of axes. |
|
A background rectangle. |
|
Creates a bar chart. |
|
Takes a mobject and draws a brace adjacent to it. |
|
Similar to Brace, but instead of taking a mobject it uses 2 points to place the brace. |
|
Create a brace with a label attached. |
|
Brace with a plain-text label. |
|
A bulleted list. |
|
A circle. |
|
A highlighted source code listing. |
|
A |
|
Complex-valued counterpart of |
|
A circular cone. |
|
Constructs a convex hull for a set of points in no particular order. |
|
A convex hull for a set of points |
|
Creates a cross. |
|
A three-dimensional cube. |
|
A cubic Bézier curve. |
|
Convert a curve's elements to submobjects. |
|
A shape with smaller cutouts. |
|
A cylinder, defined by its height, radius and direction, |
|
A dashed |
|
A |
|
A mobject that displays a matrix with decimal entries on the screen. |
|
An mobject representing a decimal number. |
|
A specialized |
|
A directed graph. |
|
Subtracts one |
|
A dodecahedron, one of the five platonic solids. |
|
A circle with a very small radius. |
|
A spherical dot. |
|
An arrow with tips on both ends. |
|
Two lines that create a right angle about each other: L-shape. |
|
A circular shape; oval, circle. |
|
Find the XOR between two |
|
A |
|
An undirected graph (vertices connected with edges). |
|
Groups together multiple |
|
An icosahedron, one of the five platonic solids. |
|
A class for displaying Integers. |
|
A mobject that displays a matrix with integer entries on the screen. |
|
Find the intersection of two |
|
A Label consisting of text surrounded by a frame. |
|
Constructs an arrow containing a label box somewhere along its length. |
|
A |
|
Constructs a line containing a label box somewhere along its length. |
|
Constructs a polygram containing a label box at its pole of inaccessibility. |
|
A straight or curved line segment between two points or mobjects. |
|
A cylindrical line, for use in ThreeDScene. |
|
Convenience class representing Manim's banner. |
|
Base class for Mobs whose construction/query API is supplied by Manim. |
|
Display (non-LaTeX) text rendered using Pango. |
|
A specialized |
|
A LaTeX string typeset in math mode, wrapping Manim's |
|
A mobject that displays a matrix on the screen. |
|
A mobject that displays a matrix of mobject entries on the screen. |
|
A specialized |
|
Creates a number line with tick marks. |
|
Creates a cartesian plane with background lines. |
|
An octahedron, one of the five platonic solids. |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
Display a paragraph of text. |
|
A parametric curve. |
|
A mobject representing a point. |
|
Creates a polar plane with background lines. |
|
A shape consisting of one closed loop of vertices. |
|
A generalized |
|
An abstract polyhedra class. |
|
A right rectangular prism (or rectangular cuboid). |
|
A quadrilateral with two sets of parallel sides. |
|
An n-sided regular |
|
A |
|
An elbow-type mobject representing a right angle between two lines. |
|
A rectangle with rounded corners. |
|
A vectorized mobject created from importing an SVG file. |
|
A mobject representing a twodimensional rectangular sampling space. |
|
A sector of a circle. |
|
Elementary building block for rendering text with LaTeX. |
|
A three-dimensional sphere. |
|
A rectangle with equal side lengths. |
|
A regular polygram without the intersecting lines. |
|
'Stealth' fighter / kite arrow shape. |
|
StreamLines represent the flow of a |
|
Creates a Parametric Surface using a checkerboard pattern. |
|
A rectangle surrounding a |
|
A mobject that displays a table on the screen. |
|
Constructs a line tangent to a |
|
An arc tangent to two intersecting lines. |
|
A tetrahedron, one of the five platonic solids. |
|
A string compiled with LaTeX in normal mode. |
|
A 3-dimensional set of axes. |
|
Meant for shared functionality between Arc and Line. |
|
An underlined heading, wrapping Manim's |
|
A torus. |
|
An equilateral triangle. |
|
Creates an underline. |
|
Union of two or more |
|
A VGroup-like class, also offering submobject access by key, like a python dict |
|
A group of vectorized mobjects. |
|
A vectorized mobject. |
|
A vectorized mobject representing an SVG path. |
|
A non-rendering Mob storing one animatable scalar. |
|
A class for displaying text that shows "label = value" with the value continuously updated from a |
|
A vector specialized for use in graphs. |
|
A vector field. |
|
Functions
- from_manim(value, *, scene=None, add_to_scene=True)[source]¶
Recursively convert values returned by delegated Manim APIs.
Converted Mobs register themselves with
sceneby default, exactly as directly constructed Mobs do, because Algan builds render primitives from the Scene’s actor list: a Mob that is not an actor never draws, no matter how it is spawned or styled. Passadd_to_scene=Falseonly for conversions that duplicate geometry some other Mob already renders.- Parameters:
value (Any)
add_to_scene (bool)