-- Rustia

Luau, embedded in Rust.

Rustia runs Luau scripts in Rust applications. Edit the Luau below to change what the garden draws.

Edit the garden in the playground ↗

How Rust hosts the garden

Rustia runs the Luau in a browser worker. Each frame, Rust calls update(time, mouse, radius). The script calls sprite() to send positions and sprite types back to the page for drawing.

View the garden’s Rust code
garden.rsWasm bridge
Loading Rust source…