mp-tikz-wasm

Live graphics with MetaPost and TikZ

Every picture here is re-typeset by MetaPost or LaTeX in your browser each time it changes: the harmonograph, the cube and the pendulum by MetaPost (a few milliseconds a frame); the plot, the clock and the formula by pdfTeX and dvisvgm (a few hundred milliseconds). Loading the engines… Feature guide · Source

Harmonograph MetaPost, on every slider move

waiting for the engine…
3 2 3 2 45 0.3 0.62
MetaPost source of the last frame

Spinning cube MetaPost, one run per animation frame

waiting for the engine…
1
MetaPost source of the last frame

Double pendulum simulated in JavaScript, drawn by MetaPost each frame

waiting for the engine…
150
MetaPost source of the last frame

Damped oscillator pgfplots, re-typeset on release

waiting for the engine…
1 0.3 2
LaTeX source of the last render

Clock TikZ, typeset every second

waiting for the engine…
LaTeX source of the last render

Formula LaTeX with amsmath, as you type

waiting for the engine…
LaTeX source of the last render