Code samples and demos for Willow.
Full example code coming soon.

Erase-blend render targets for dynamic 2D light and shadow. Multiple light sources with falloff and color mixing.

Faux-3D experiment scene rendered pixel-by-pixel to an offscreen texture, then passed to Willow and Ebiten for display. No quads or meshes; every pixel is drawn in software.

Raycasting experiment using textured quad rendering. Walls, floors, and ceilings rendered with textures and a Kage shader for distance-based darkening.

Parent-child transform inheritance with rotation and position cascading through the display tree.

CPU particle emitters with configurable lifetime, velocity, gravity, color interpolation, and blend modes.

Circle-based collision detection with gravity and bounce. Sprites driven by a physics step each frame.

Composable Kage shader filter chains. Blur, color matrix, palette swap, and custom filters applied per node.

Particle emitters combined with additive blending and alpha interpolation for ambient glow effects.

SDF text rendering combined with particle emitters. FontFamily API for multi-style text with real-time effects.

Mesh-based masking to clip child nodes to arbitrary shapes.

Deformable rope mesh with per-vertex positioning. Verlet integration for physics-driven mesh deformation.

Render-to-texture for underwater distortion, color tinting, and animated caustics composited from off-screen targets.

Lightning bolt effect using particle emitters with additive blending and glow.

Animated mesh with per-vertex wave displacement. Sine-based vertex offsets applied each frame.

Custom geometry rendered as triangle meshes with per-vertex color, scale, and rotation animation.