All projects

In development

Fenrir

Source

Damage a shape. Find its pieces. Explore how a Rust and Bevy game turns material into a bounded simulation.

Rust · Bevy · ECS · Geometry

Explore the ideaInteractive material study

When does one asteroid become two?

Tap the material to carve a hole. Cut across it to create disconnected pieces. With a keyboard, move the crosshair with arrow keys and press Enter or Space to carve.

156 cells remain1 connected piece
0 hits

A simplified browser study of occupancy and four-neighbour connectivity. Fenrir uses a 32 × 32 material grid, with collision and independent fragment motion in Rust and Bevy. Lighter cells mark disconnected pieces here.

Explore the geometry code
Under the hood

Follow the system.

Choose a part to see what happens.

Keyboard / mouse / gamepad60 fixed ticks per second

Inputs feed the simulation. Catch-up is capped at six ticks after a render stall, bounding the work in that frame.

Render timing and simulation steps are separate.
1 / 7