Skip to content

Algan v0.0.0

Choose a tag to compare

@github-actions github-actions released this 09 Sep 11:20
· 106 commits to master since this release
f10cc23

Algan is a full-featured 2D/3D programmatic animation engine for explanatory
mathematics and technical videos — a successor to Manim with GPU ray
tracing. This is its first release on PyPI.

pip install algan

See the Installation guide
for installing optional extras and help fixing installation problems.

What's in it

  • Manim feature parity — the mobs, animations and authoring style you
    already know.
  • GPU ray tracing — depth of field, area lights, glossy reflections,
    refractive glass, soft shadows, custom shaders.
  • Declarative timeline contextsSeq(), Sync(), Lag(), Off() and
    Speech() blocks, so animation code is modular and re-usable.
  • Unified 2D/3D geometry — morph and interpolate between 2D Bézier circuits
    and 3D meshes with become().
  • Audio and speech alignment — word-level forced alignment to synchronise
    animation with narration.
  • An interactive viewerScene.view() serves a local page that plays the
    scene, shows the mob hierarchy and attributes at the playhead, and reports the
    depth-sorted fragment list behind any pixel.

Requirements

Python 3.10–3.13, on:

Platform Requirement
Linux x86-64 glibc 2.28 or newer
Linux aarch64 glibc 2.35 or newer
macOS Apple Silicon, macOS 13 or newer
Windows x64

A GPU is optional — everything renders on CPU, just more slowly. CUDA and Apple
Metal are both used when present.

The installed footprint is large, roughly 5 GB on Linux, most of it the CUDA
build of torch and its NVIDIA dependencies. If you are not using CUDA
you can install your required PyTorch build from PyTorch's official
installation page before installing Algan.

Known limitations

  • macOS on Intel is not supported. The patched kernel compiler
    (algan-quadrants) publishes no x86-64 macOS wheel, so pip install algan
    cannot resolve there.
  • Linux aarch64 needs glibc 2.35. Older ARM distributions cannot install
    yet; a build that lowers this to 2.34 is prepared and will land in a
    following release.
  • musl-based Linux and Windows on ARM are not supported — no wheels are
    published for either.
  • Text on Linux needs an extra. manimpango publishes no Linux wheel, so
    system-font text is pip install "algan[pango]" and builds Pango from source.
    Without it, Text falls back to LaTeX's text mode and Manim's MarkupText
    and Paragraph are unavailable.
  • LaTeX is optional but not bundled. Tex and MathTex need a TeX
    distribution on PATH; Text does not.

Links

Algan is MIT licensed, and vendors Manim, ground and sect under their own MIT
notices.