Skip to content

Example projects

The engine repository includes example projects in examples/. Each is an ordinary Feather 2 project that you can open, play, change and export.

  1. In the editor, choose File → Open example and pick an example by name. The menu lists every folder in examples/ that contains a project.feather.json.

  2. Or open one from a source checkout:

    Terminal window
    cargo run --bin feather-editor -- --project examples/paper-shredder/project.feather.json
  3. Press Play to try it, and Stop or Escape to return to editing.

The macOS app bundle includes Shred & Sort and Fluid Playground.

Each example ships with a build.py script that generates it using only engine commands, sent over one MCP session to feather-cli. These scripts double as working examples of driving Feather from code. Rebuild one with:

Terminal window
cargo build && python3 examples/paper-shredder/build.py

The starter the editor opens by default: a recycling depot (32 × 24 metres) where a truck and ceiling pipes keep dumping mixed rubbish — paper, cardboard, plastic bottles, cans, glass and bin bags. The depot starts with no sorting line: you build your own belts and sorters and sort the rubbish into six bins (Paper, Cardboard, Plastic, Metal, Glass, General). The right bin pays, the wrong bin costs a contamination fine, and finishing an order pays a bonus.

The Shred & Sort recycling depot in play, with a mound of mixed rubbish, the sorting line of bins and the tool hotbar

Input Action
Mouse Captured when Play starts; Shift+F1 frees it, a click takes it back
E Pick up or put down, or press the button or valve you look at
1–5 / Q Hold a tool: hands, vacuum gun, magnet gun, leaf blower, build
LMB Throw what you hold; fire the vacuum; launch the magnet’s cluster
RMB Vacuum up trash (25 slots); grab metal; blast a pile with air
Z / C Vacuum gun: choose which material it picks up (All, Paper, Cardboard, Plastic, Metal, Glass, General)
Tab Open a clickable picker: the pieces (build tool) or the vacuum’s material filter. It frees the cursor while open
Build tool LMB place on a 1 m grid, R turn 90°, Z / C choose the piece, X remove (50% back)

Tool 5 builds the line: belts and turns, loaders, per-material sorter gates, bins and an auto sorter that throws each material onto its own pile. The console sells machines for it, a belt upgrade that speeds up every belt you built, and an emergency stop for every belt and machine. Every number in the game — starting cash, fines, item values, machine prices, truck timing — is a game variable, tunable in the editor even while it plays (see Game variables). Press P, F, G, B, X or H in Play for the physics tests: trash avalanche, fan, low gravity, blast, clear shreds and help.

Shows: runtime copies, conveyor and wind force fields, game variables, held tools and a world script. Built with build.py.

An open sea with rolling waves, five islands, a lighthouse and a sloop. Walk to the sloop and press E to take the helm, then sail with the arrow keys. The hull floats on buoyancy columns and the sail is cloth.

Shows: ocean water, buoyancy, boats and cloth. Built with build.py.

A spring fills a reservoir behind a stone dam above a village. Burst the dam and the flood carves its bed, floats crates and soaks the village, unless you dig a trench or raise a wall first. A volcano pours lava, an oil depot leaks and burns, and a slime pit sits beside the road.

Key Action
1–7 Hold a tool: shovel, earth staff, leveller, water flask, oil flask, fire rod, ice rod
C Use the held tool where you aim
B Burst the dam
V Erupt the volcano
F Flash flood upstream
R Thunderstorm on or off
L Light the oil depot
H Hide or show the help panel

Shows: flowing fluids with momentum, erosion, terrain tools, fluid pools and sources, and buoyancy. Built with build.py.

A pond for the interactive water surface and the physics components. Wade in and the water swirls round your legs, with foam trailing behind you. A spawner rains wooden balls into the pond that splash, bob and drift on the currents; a world script keeps a whirlpool turning; rocks split the flow into eddies; and a hover drone holds itself above the water on a thruster.

Key Action
Space Fire the rocket crate on the shore
R Splash the water where you look

Every number, such as the whirlpool’s position, size and speed, is a game variable. Shows: the interactive water surface, the Spawner and Thruster components, centre of mass, script physics queries (raycast) and water functions (water_stir, water_splash). Built with build.py.

A moonlit clearing for particle effects and lighting. A torch-lit path leads past a campfire to a ruined temple, where a beam of light falls through a gap in the roof onto a glowing crystal, and a portal swirls with stars beside it. Mist creeps over the grass, leaves fall and settle, and fireflies drift through a thin volumetric haze.

You play in first person. The clearing is a sandbox: pick a tool with 1–6 and click where you look to place it.

Ember Hollow at night: a torch-lit path through tall grass leads to a ruined temple where a beam of moonlight falls on a glowing crystal

Input Action
1 Campfire: flames, embers, smoke and a flickering light
2 Magic orb: a floating, pulsing light with orbiting stars
3 Portal: swirling stars, curling wisps and shockwave rings
4 Drop a physics crate
5 Fire spell: a burst of flame and smoke that pushes bodies away
6 Gust: a visible gust of wind that shoves crates
T Move the night on two hours
R Clear everything you placed
V Start or stop a camera tour of four viewpoints

Shows: particle effects (flipbooks, trails, effects spawned when a particle dies, erosion, vortex and attraction forces, timed bursts, particles that land on the ground), point and spot lights with shadows, volumetric fog and light shafts, script-spawned effects and lights, and a tool bar drawn with game UI markup. Tune any effect in Window → Effects or with vfx.upsert. Built with build.py, using built-in content only.

Half a kilometre of river, simulated live on the GPU. A spring high in the hills feeds a river that winds down a valley, drops over a waterfall into a gorge and fills a lake at the bottom. The water keeps its momentum down the slopes, throws spray and foam over the falls, and carries crates from the top of the river down to the lake.

Play opens on a view from high above the falls, then hands control to you on a lookout beside them. Press O to switch to the view from above and back.

River Valley from above: the river winding through a green valley between trees down to the lake

The whole valley is one fluid body: the lake’s Fluid pool brings its own grid of 1024 × 1024 half-metre cells, and the GPU solver (fluid.set with gpu) steps it. Shows: GPU fluids at a large scale, fluid pools and sources, floating physics props, forests and a scripted opening shot. Built with build.py.

A long ridge across a steady westerly wind, showing one body of air moving everything in the world. On the meadow upwind the wind blows freely, over the crest it speeds up, and in the hollow behind the ridge the air is calm. Three flags show it: snapping on the meadow and the crest, slack in the lee. One smoke plume streams flat across the meadow while its twin in the hollow rises straight up, gusts roll across the grass and trees and die out behind the ridge, and showers fall only under clouds that drift east with the wind.

Wind Ridge: tall grass and trees on the meadow bending in the wind under drifting clouds

Key Action
F Set the meadow alight: the fire spreads downwind and up the slope
W Change the weather: showers, clear, storm, rain
H Write the wind speed and shelter at each flag, and the rain and wind where you stand, to the log

Shows: the wind field and its sheltering by terrain, weather that follows the wind, wildfire spread, cloth flags, smoke effects, grass and forests. wind.query prints a map of wind speed over the ridge. Built with build.py.

A third-person destruction sandbox: a seven-storey tower you can walk into and collapse, apartment blocks built from stacked storey prefabs, explosive cars, and a running battle between allied and enemy squads.

The models are CC0 packs from Kenney and Quaternius and are not included in the repository. Download the packs listed in examples/war-city/README.md, then build the project:

Terminal window
cargo build && python3 examples/war-city/build.py ~/Downloads/feather-cc0

Shows: destruction and structural collapse, combat, AI squads and prefabs. The README also shows a headless game.simulate run with scheduled blasts whose report lists what broke and what collapsed.

A 600 × 600 metre exploration scene generated from the POLYGON Meadow Forest pack. It is not in the repository: you generate it locally from your own copy of the pack with scripts/convert_meadow_assets.py and scripts/generate_meadow_project.py, which need Blender and the built CLI. It is a useful stress test for large imported scenes.

Kinetic Garden, Assembly Garden and World Generation now live in the engine’s tests/fixtures/ as test scenes rather than shipped examples, and Physics Workshop, Material Study and Physics Showcase have been removed. The eight examples above (plus Meadow Expedition, generated on demand) are what the repository ships.