prayog

Explain it by running the experiment.

Prayog turns a JSON scene into an animated explainer video. Equations, graphs and physics you can scrub, edit in the browser, or hand to an LLM, then export as MP4.

View on GitHubInstall the MCP server

Open source, Apache-2.0. The repository is private for now.

rendered by prayog
scene
00:00.0
00:12 footage

Every loop here came out of the engine.

No screen recordings of other tools. These are Prayog scenes rendered to MP4 and cut to a few seconds each.

Typeset, then highlighted
maths
maths/taylor
Adding sines until it squares
maths
maths/fourier
Energy, live
physics
physics/pendulum
Equal areas, equal times
physics
physics/orbit
Tiles that prove it
maths
maths/v1c-pythagoras
Polynomials closing in
maths
maths/taylor
Two waves, one sum
physics
physics/waves
00:30 one function of time

A frame is a function of time.

Prayog never stores frames. Give the engine a scene and a time and it returns exactly one picture, every time. That is why you can scrub, loop and export without anything drifting. Drag the playhead.

y = v sin θ · t − ½ g t²
0.00 s
t
0
x
0
y
0
vy
0

Launch speed 24 m/s at 55°, no drag. Arrows are the horizontal and vertical velocity, and the amber one is their sum.

00:48 three ways in

Type it, click it, or ask for it.

The same scene file works everywhere. The MCP server has 189 tools, so an assistant can build a lesson, check its own frames and export it.

  • json

    Write the scene

    Objects and a timeline in plain JSON. Version it, diff it, review it like code.

  • web

    Edit in the browser

    A SolidJS editor with outline, inspector and timeline, running the same Rust engine as WASM.

  • mcp

    Let an LLM drive

    A local stdio server. The assistant validates, renders frames to look at them, and exports.

01:06 what exists today

Maths is ready. Physics is on its way.

We would rather show you a gap than a mock-up. Chemistry has no footage here because nothing is rendered yet.

Maths

Available. Equations from TeX, graphs, geometry, a built-in algebra system that checks the maths a scene claims, narration and MP4/GIF export.

Physics

Partly. Motion, trajectories and forces you can drive from a scene. The full set is being built.

Chemistry

Planned. Molecules and reactions. Not shipped.
01:20 run it

Add it to your assistant.

The MCP server runs on your machine over stdio. It needs Node 18+, and the launcher downloads a checksummed release binary on first run.

Output you get:

  • MP4
  • GIF
  • PNG frames
  • VTT captions
{
  "mcpServers": {
    "prayog": { "command": "npx", "args": ["-y", "prayog-mcp"] }
  }
}
t 00:00.0
Title