ZapEngine

Rust/WASM + WebGPU game engine examples

Physics Playground

Angry Birds-style slingshot with Rapier2D physics. Fling projectiles at stacked towers.

physicssprites

Chemistry Lab

Molecule builder with SDF-rendered atoms and capsule bonds. Spring joints hold molecules together.

SDFjointsHDR

ZapZap Mini

8x8 circuit puzzle with dynamic lighting and normal maps. Tap tiles to rotate and connect pins.

lightingnormal mapsHDR

Glypher

Handwriting-tracing game with dynamic lighting. Trace letter strokes to spell out proverbs.

vectorslightingHDR

Flag Parade

384 SDF spheres simulating a flag waving in the wind. Pick from 10 country flags.

SDFanimationHDR

Solar System

Interactive orrery with Keplerian orbits, HDR sun, 9 planets (yes, Pluto counts), moons, and asteroid belt. Scrub time by years.

SDFvectorsHDR

React Demo

Minimal React integration using the useZapEngine hook. Starting point for React apps.

reacthook