Creating animations with Typst?!

TL;DR

I implemented an animation engine for Typst using Rust called candy.You can experiment with it if you like. repo: ViCo-Lab/Candy grab pre-built binaries on CI if you like. Not published to any package repositories, so manual installation is required.

DISCLAIMER

Very BUGGY. Vibe-coded. May OOM. Use at your own risk.

Introduction to Candy

I created an animation engine for Typst named candy, which stands for Code-oriented Animation eNgine Designed for tYpst. This project is still WIP, so it’s not published (neither Typst Universe nor crates.‍io). It is implemented using pure Rust (0% unsafe black arts).

It is inspired by manim, the animation engine for LaTeX created by 3b1b but its API is designed independently and uses 99% vibe coding. It’s still very buggy (sometimes may OOM) but it can render some basic animations.

A probable solution to GitHub issue #8447

This project will be published once I fixed some critical bugs, such as OOM. Now it’s usable but not useful.

1 Like