sdan / openanimator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openanimator

generate videos like 3blue1brown with ✨ai✨

CalculusInMotion.mp4

how it works:

frontend runs ai sdk, two function calls: generate manim code, render manim code. generate manim code uses few-shot examples to use the user's request and turn that into manim code. render manim code then is called and takes that code, cleans and santizes(lightly) and sends it to rendering engine, which simply runs that manim code and hosts it on a simple flask server

specs:

client is a nextjs ai sdk frontend, reqs: auth0 auth, server runs independently on a dedicated machine (railway)

server is a python server that takes manim code and renders it, reqs: public endpoint

how to run

frontend: cd client, vc dev (need to add .env and various backend: cd server, python main.py, railway up (no configs needed)

improvements:

use claude, move rendering engine into a cf worker, use improved tool calling with ai sdk

About


Languages

Language:TypeScript 79.3%Language:Python 15.8%Language:JavaScript 2.2%Language:TeX 1.6%Language:CSS 0.8%Language:Dockerfile 0.2%