A Claude Code skill and the engine behind it. Give it a place and it builds a 3D world you can walk through in the browser: a ruined, overgrown landscape where giant walking machines keep their rounds in the mist. The machines are put together from code, part by part, and their feet land on the real height and slope of the ground.
- Walk the worked example in the browser: https://wilds.num2323.com/
- The same valley playing its own film (2 min 47 s, dawn to night): https://wilds.num2323.com/?film=1
A personal project by Jeongrok Oh, an MMO server architect. Two habits from server work run through it: every machine's state is recomputed from the clock, and nothing is rendered until automated checks on the bodies pass.
Each leg is a planar chain of segments solved in closed form. Every powered joint has a two-part hydraulic cylinder, and a search places its two anchors so the rod stays at least 15 % inside the barrel over the joint's whole range of motion. Fittings (pipes, hoses, rivets, hatches, ladders, rails) are laid on afterwards, and each kind has an age that puts rust streaks, grime and moss where water would run.
Given the world clock t, the gait computes where every foot is, from
the machine's closed way and the phase of each leg, with no state carried between frames. The page, a still, a frame
of the film and the Node checks all get the same pose for the same t, so film frames can be drawn in any order and a
stopped render picks up where it left off. The walker's own two-legged machine is the exception: it follows the keys,
so it steps from state.
Each foot reads the height and slope where it will land; a planted foot is fixed in the world (measured slip 0.00 mm against a 4 mm limit); the body's height and lean come from the feet that carry it, and steps shorten on a grade.
scripts/gym.mjs runs the same gait code in Node, without a
browser, and judges every machine over a whole lap against 27 limits: slip, reach, joints folding past their stops,
the cylinders' stroke, clearance under the belly, determinism (the same t twice must agree to 1e-9), a breathing
idle, and anticipation and recovery around each big move. Every kind must also cross a test course with a 14° ramp, a
1.2 m drop, a 12° side slope, a ditch and a mound. A kind that fails is fixed in its own numbers or in the line of its
way, never by loosening a limit.
A deferred WebGL 2 renderer on three.js r170, forked from the scanned-realm skill. Surfaces, models
and leaf atlases are Poly Haven CC0 scans, fetched when a realm is built (not committed) and reduced to levels of
detail with meshoptimizer at load. Machine lamps are marched through the fog as beams with halos. The weather
runs through clear, rain, snow, mist and haze, and the hour through a full day.
lib/89_cine.js plays a list of shots with free cameras while the walker's machine
is driven by keys. ?film=1 plays it live; examples/iron-valley/trailer.mjs steps the same shots to draw frames
(3,857 for the example) and joins them with sound synthesized from the machines' footfalls. On a machine with no GPU,
timing one quality setting at a time showed the shadow maps were half of each frame: at half their resolution a frame
went from 8.7 s to 4.1 s with no difference visible at 960 × 540.
- Input: one line about a place, what it was, why it was left, and the hour.
- Brief: the rise and fall of the land and where the ruins stand; for each kind of machine its job, size, weight, legs, gait numbers, set piece and lamps; the ways the machines walk.
- Numbers first:
gym.mjswalks every machine over the test course and along its way on the real land, without a browser, and reports in numbers. - Parts and world: joints and cylinders, fittings, a body, head and lamps written new for each kind; ruins and forest from scanned surfaces and models; footprints pressed into the ground.
- Look: a cast sheet per kind (four sides, walk, idle, set piece), close sheets, the page check (
check.mjs), stills. - Output: one walkable page (scans read from
assets/or from Poly Haven's server), with the sheets, map and stills.
A pass where a maintenance yard was left forty years ago. The land is 640 m across, from −3 m at the brook to 47 m
on the north ridge, with a broken viaduct, a hall, pylons, a container yard. Nineteen machines of eight kinds: two long-necked watchers, three
six-legged carriers, a relay station 73 m tall that weighs 5,200 t and walks the rim, five flying kites, two turtles,
a crayfish, four woodlice, and the walker's own body. Sources are in examples/iron-valley/src/, the design in its
BRIEF.md.
Each picture opens the live page at that spot and hour.
Every kind is turned in a studio before it goes into the world, and every gait is drawn over a cut through the real land. A kind that does not pass is fixed in its numbers or its way. Each sheet links to the source it checks.
starter/ takes a different topic all the way through: a quarry cut in terraces and flooded. It designs its own lamp
warden with two-segment, backward-kneed legs, one walking the rim and one standing in the water, and its own walker's
body.
Requirements: Node 18+ with Playwright's Chromium, curl and ffmpeg. gym.mjs needs Node alone. The page needs
WebGL 2 and a real GPU.
cp -r starter my-realm # the starter: a flooded quarry and two wardens
node scripts/gym.mjs my-realm --course --sheet # the machine on the test course, no browser (out/gym-course.png)
node scripts/gym.mjs my-realm --map --sheet # on its own way, on the realm's land (out/map.png)
node scripts/fetch-assets.mjs my-realm # the scans: 28 MB from Poly Haven, CC0
node scripts/build.mjs my-realm # writes my-realm/index.html
node scripts/render.mjs my-realm --cast # each kind turned in a studio (out/cast-<kind>.jpg)
node scripts/check.mjs my-realm # must print "check OK"
cd my-realm && python3 -m http.server 8000 # walk it at http://localhost:8000/The example works the same way with examples/iron-valley (101 MB of scans). Without the scans a realm still builds
and walks with ?scan=0, on surfaces baked from code. SKILL.md has the whole workflow, from a topic to a finished
realm; references/ holds the notes behind each step.
Controls: W A S D or the arrows to walk, the mouse to look, Shift to run, Space to hop, V to switch the camera
(first person, behind, above), the wheel or + and − to zoom, B for the lamp, N for the scout camera (the walker's own
wide lens: carried, grainy, torn when its fault crackles), Tab for the menu (the hour, the weather,
quality, sound and every key). On a phone, two thumbs and the ☰ button; a gamepad works too, and the HUD then shows its
buttons. The HUD is laid out like a console game's: the walker's machine and the hour top left, a compass with the giants
(red while one is watching you), the named places and anything you can use, and the buttons that matter bottom right.
Walk up to something you can use and a marker shows it from afar, then a prompt with its key: when Ridge, the biggest,
stops on the rim and lets its cage down, R takes you up to its deck to walk the bow while it walks on, and R again takes
you down. 1 to 4 set the hour, 5 to 8 the weather, T cycles both, M toggles sound, P shows numbers,
H hides the HUD.
The stills and films here were rendered on a machine with no GPU, so frame rates on real GPUs have not been measured;
what is kept in hand is what can be counted (draw calls, triangles, passes; references/PERF.md). Machine lamps cast
no shadows of their own, so a beam can leak past a tree. The machines walk fixed ways and do not avoid each other at
run time; the ways are spaced by the offline checks.
Made in motion-skills from three of its skills:
scanned-realm for the engine and the scans,
walking-colossus for the stateless gait, and
machine-build-reel for machines as
mechanisms and their checks. It moved here with its history. Scans from https://polyhaven.com (CC0).
AnyMachine (MIT) is a reference: machine-build-reel follows its method of
building a machine as a parts list and checking it by script, and its shelled machines prompted the example's shelled
kinds. No code, design or asset of it is used, and none of any game's. references/SOURCE.md has the details.
- Code: PolyForm Noncommercial 1.0.0. Use it, change it and share it for personal and other noncommercial purposes. Commercial use (paid courses, client work, products) needs a licence from the owner.
- Films, stills and other pictures: © 2026 jungrok5, all rights reserved (MEDIA-LICENSE.md). Watch and share the original posts; no re-uploads, edits, or use in lectures, courses or ads without permission.
- Parts by others keep their own licences: three.js and meshoptimizer (MIT, in
vendor/), the Poly Haven scans (CC0, not committed). See CREDITS.md.








































