Examples

25 examples from examples/, each a worked answer to a real request. An example's card says in plain words what goes in (the params a person tunes), what comes out (its named results) and what it promises; its graph is today's way to meet the card, and npm test checks the one against the other (docs/examples.md). Each is rendered by npm run showcase and fingerprinted by npm test. Agents get the same examples from the MCP help tool (help {topic:"examples"}); or download a graph and cook it yourself, for example npx topotopo market_street.json --render out.png --export out.glb.

Asset cleanup: render of examples/asset_cleanup.json

Asset cleanup

A rough, broken scan turned into a game-ready asset: holes filled, tangles removed, even triangles, clean UVs and levels of detail.

In: source, edge_length, lods, lod_ratio, texel_density, seed · Out: asset (mesh), lods (mesh)

Promises: the asset is one closed piece facing out, without holes or tangles. no edge is shorter than a fifth of edge_length. every face has uv inside the 0 to 1 square.

asset_cleanup.json · card · 51 nodes · 31 node types

Blob creature: render of examples/blob_creature.json

Blob creature

A cartoon creature made of smooth blended shapes: a round body, a head, legs and a tail that melt into each other, and two eyes, as a closed mesh.

In: body_size, head, legs, tail, blend, spines, feature_size, seed · Out: creature (mesh)

Promises: the body is one closed piece facing out, without tangles. the creature stands on its feet, its lowest point on the ground.

blob_creature.json · card · 18 nodes · 15 node types

Cloth drape: render of examples/cloth_drape.json

Cloth drape

A tablecloth draped over a table: it falls over the edges in soft folds and rests on the table top, a set-dressing prop.

In: table_width, table_depth, cloth_size, stiffness, thickness, seed · Out: cloth (mesh), table (mesh)

Promises: no part of the cloth goes below the floor. the cloth's highest point is the table top, give or take its thickness. every face of the cloth has uv.

cloth_drape.json · card · 36 nodes · 19 node types

Corridor panels: render of examples/corridor_panels.json

Corridor panels

A sci-fi corridor wall on one trim sheet: a frame, a row of panels fitted to a hotspot rectangle, a small sign on its own rectangle, and a rail along the top.

In: width, height, columns, gap, seed · Out: wall (mesh)

Promises: the wall fills its width and height and stays in front of its back face. every face names a band or rectangle of the sheet. the sheet description is carried on the geometry. every face has uv.

corridor_panels.json · card · 25 nodes · 12 node types

Eroded valley: render of examples/eroded_valley.json

Eroded valley

A mountain valley worn by rain: sharp ridges, gullies and sediment fans, with a river along the valley floor, as a terrain for a game engine.

In: size, height, erosion, river_depth, seed · Out: terrain (terrain), river (curves), preview (mesh)

Promises: the ground stays between 0 and height. the river runs downhill all the way from its start to its end.

eroded_valley.json · card · 51 nodes · 21 node types

Forest on terrain: render of examples/forest_on_terrain.json

Forest on terrain

A forest with rocks on rolling terrain, ready for a game engine: trees on the gentle ground, rocks gathered on the slopes, bare ground where it is too steep.

In: seed, size, relief, tree_density, rock_density, max_slope · Out: terrain (terrain), trees (instances), rocks (instances)

Promises: no tree stands on ground steeper than max_slope. every tree and rock stands on the ground; none floats or sinks. every tree and rock stays within the terrain.

forest_on_terrain.json · card · 54 nodes · 18 node types

Fracture settle: render of examples/fracture_settle.json

Fracture and settle

A stone wall that breaks into pieces which fall and come to rest on the ground, for a destruction effect or a ruin.

In: wall_width, wall_height, thickness, pieces, impact, seed · Out: broken (mesh), intact (mesh)

Promises: the wall breaks into exactly pieces closed pieces. together the pieces hold as much stone as the wall. every piece lies on or above the ground.

fracture_settle.json · card · 32 nodes · 17 node types

Growth: render of examples/growth.json

Growth

A coral-like form that grows frame by frame, for a timelapse or a growth effect: it swells unevenly into knobs and folds.

In: seed_size, rate, lumpiness, edge_length, seed · Out: form (mesh)

Promises: the form stays one closed piece facing out. it is never smaller than the seed it started from. no edge is shorter than a quarter of edge_length.

growth.json · card · 19 nodes · 15 node types

Guided town: render of examples/guided_town/graphs/town.json

Guided town

A village laid out along your own guides: the roads, house plots, fences, woods and clearings you draw in the viewer become a finished village, built again whenever you move one.

In: road_width, lamp_spacing, floors, roof_pitch, tree_density, keep_clear, seed · Out: village (scene)

Promises: no tree or bush of the woods stands within keep_clear of a road, a house or a fence. nothing reaches below the meadow.

town.json · card · 46 nodes · 26 node types

Image cutouts: render of examples/image_cutouts.json

Image cutouts

Game props cut out of pictures: the shapes in each picture are traced into flat, double-sided cards that keep the picture as a masked texture, all packed into one atlas, for foliage, decals and background props.

In: outline, bend, copies, padding, atlas_size · Out: cards (mesh), atlas (textures)

Promises: every card's uv stays inside the atlas. a hole in a shape stays a hole in its card.

image_cutouts.json · card · 72 nodes · 27 node types

Lsystem tree: render of examples/lsystem_tree.json

L-system tree

A stylised tree grown from rules: a trunk that branches again and again, thinning as it goes, with leaf cards at the tips, for a low-poly game.

In: generations, angle, height, taper, leaf_size, seed · Out: tree (mesh)

Promises: the trunk starts on the ground and the tree stays within height. every face has uv.

lsystem_tree.json · card · 35 nodes · 21 node types

Machined bracket: render of examples/machined_bracket.json

Machined bracket

A metal mounting bracket for a game prop or a print: an L-shaped plate with rounded edges, bolt holes in both legs and an engraved label.

In: width, leg, thickness, holes, hole_size, bevel, label · Out: bracket (mesh)

Promises: the bracket is one closed piece, every face pointing out. it has exactly twice as many bolt holes as holes, all the way through. it fits within width by leg and thickness on each side.

machined_bracket.json · card · 36 nodes · 24 node types

Market street: render of examples/market_street.json

Market street

A town street ready for a level: a road with kerbs, pavements and lamp posts, a row of houses along one side and a small park with paths, trees and benches on the other.

In: street_length, road_width, house_width, floors, lamp_spacing, park_density, seed · Out: street (scene), houses (scene), park (scene), block (scene)

Promises: nothing reaches below the ground. everything stays within the street's length and 70 m across it. lamp posts line both pavements, never more than lamp_spacing apart.

market_street.json · card · 135 nodes · 34 node types

Material set: render of examples/material_set.json

Material set

A set of tileable game materials made from scratch: rough stone blocks, wood planks and worn painted metal, each with colour, normal and packed roughness maps.

In: resolution, tile_size, wear, dirt, seed · Out: stone (material), wood (material), metal (material), swatches (mesh)

Promises: one swatch per material, each with uv. every material has colour, normal and roughness maps of resolution pixels.

material_set.json · card · 127 nodes · 28 node types

Ocean surface: render of examples/ocean_surface.json

Ocean surface

An animated ocean surface for a water plane: rolling swells with smaller waves on top, moving with time, with foam where the waves crest.

In: size, wave_height, wave_length, choppiness, wind_direction, vertex_spacing, seed · Out: surface (mesh)

Promises: the waves stay within wave_height above and below sea level. every point carries a foam value between 0 and 1. the patch covers exactly size by size, so patches tile.

ocean_surface.json · card · 23 nodes · 15 node types

Rail along curve: render of examples/rail_along_curve.json

Rail along a curve

A railing and pipes that follow a path: posts at even spacing, a handrail and pipes bending smoothly around every corner.

In: path_length, corner_radius, post_spacing, rail_height, pipes, pipe_radius, seed · Out: railing (mesh), pipes (mesh), path (curves)

Promises: no two neighbouring posts stand farther apart than post_spacing. every post, rail and pipe is a closed piece. the handrail stays at rail_height above the path.

rail_along_curve.json · card · 40 nodes · 22 node types

Rusty drum: render of examples/rusty_drum.json

Rusty drum

A steel drum left standing outside on the ground for years: faded paint, rust at the rims, rain marks and a muddy splash line.

In: wear, dirt, rust, age, resolution, seed · Out: drum (mesh)

Promises: one material with colour, normal and ORM maps of resolution pixels. the drum's lowest point is at height 0. no two faces share texels.

rusty_drum.json · card · 32 nodes · 13 node types

Scifi panel: render of examples/scifi_panel.json

Sci-fi panel

A sci-fi wall panel for a game level: a framed plate broken into recessed sections, with vents, pipes and small greebles, that tiles side by side.

In: width, height, sections, depth, greebles, bevel, seed · Out: panel (mesh)

Promises: the panel fills exactly width by height, so panels side by side meet without gaps or overlaps. nothing sticks out behind the wall it hangs on. every face has uv.

scifi_panel.json · card · 23 nodes · 23 node types

Stair flight: render of examples/stair_flight.json

Stair flight

A straight stair flight mapped onto one trim sheet: stone treads and risers, a cheek wall in courses, and a metal handrail with a post at each end.

In: steps, rise, run, width, rail_height, rail_radius · Out: flight (mesh)

Promises: the flight fills its run, its rise and its width, rail included. every face names a band of the sheet. the sheet description is carried on the geometry. every face is named. every face has uv.

stair_flight.json · card · 30 nodes · 11 node types

Terrain tiles: render of examples/terrain_tiles.json

Terrain tiles

A large terrain cut into square tiles that join without seams, so a big map can be cooked, streamed and exported one tile at a time.

In: map_size, tiles, tile_x, tile_z, relief, river, seed · Out: map (terrain), tile (terrain)

Promises: the tile cooked on its own matches the map where it lies, sample for sample. the ground stays between 0 and relief.

terrain_tiles.json · card · 30 nodes · 12 node types

Town from lots: render of examples/town_from_lots.json

Town from lots

A town quarter built from a plan: the ground is cut into irregular lots along streets, and every lot gets a house that follows its shape, with a roof that fits.

In: area, lots, street_width, floors, extra_floors, roof_pitch, seed · Out: houses (mesh), lots (curves), streets (mesh)

Promises: every lot has exactly one house. the town stays within the quarter. every house stands on the ground, none sinks below the street.

town_from_lots.json · card · 58 nodes · 20 node types

Unreal landscape: render of examples/unreal_landscape.json

Unreal landscape

A landscape for Unreal Engine: an eroded terrain sized to fit an Unreal Landscape exactly, with paint layers, a road, and trees and rocks as instances.

In: samples, spacing, height, tree_density, rock_density, road, seed · Out: landscape (terrain), trees (instances), rocks (instances), road (mesh), level (scene)

Promises: the ground has a size Unreal Landscape takes as it is, without resampling. no tree or rock stands on the road. every tree and rock stands on the ground; none floats or sinks.

unreal_landscape.json · card · 71 nodes · 24 node types

Weathered cabinet: render of examples/weathered_cabinet.json

Weathered cabinet

A metal utility cabinet that has hung on an outside wall for years: chipped paint, rust runs, grime and dust.

In: wear, dirt, rust, age, exposure, resolution, seed · Out: cabinet (mesh), masks (textures)

Promises: one material with colour, normal and ORM maps of resolution pixels. the masks hold edge wear, cavity, dust, rust runs, dirt runs and fade. no two faces share texels.

weathered_cabinet.json · card · 85 nodes · 15 node types

Worn machine: render of examples/worn_machine.json

Worn machine

A small workshop machine indoors: worn paint where hands and tools touch it, oily grime in the corners, dust on top; no rain and no rust runs.

In: wear, dirt, age, resolution, seed · Out: machine (mesh), masks (textures)

Promises: one material with colour, normal and ORM maps of resolution pixels. the masks hold edge wear, handled, cavity and dust. no two faces share texels.

worn_machine.json · card · 93 nodes · 23 node types