Sky Islands

A sunny Ghibli daydream: swaying rope bridges, airships that bank and deliver, waterfalls spilling rainbows into fluffy clouds, plus storms, a lantern festival and something big below the clouds.

Worlds

Built by Claude Opus 5.5$7.09 · 56m01s

Loading world…

Goal & tips

Goal Build a sky kingdom: link every island, make deliveries by airship and grow a golden harvest.

Try this
  • Drag from island to island with Bridge (1)
  • Build a dock (5) and airships start delivering
  • Tap grass with Grow (3) for flowers, trees and crops
  • Lift (4) an island and watch its waterfalls stretch

Keys 1–5 Bridge, Wind, Grow, Lift, DockD delivery runG stormC Cinema

Secret Something sings below the clouds. Who heard it?
Show hint (spoiler)

At night, zoom the camera all the way down to the cloud tops and wait. A huge cloud whale surfaces, sings and dives again.

Remix in Claude

The prompt

Build "Sky Islands", a playable miniature world: a cluster of floating islands above a sea of clouds, linked by rope bridges, with waterfalls pouring off their edges and airships between them, as ONE self-contained HTML file.

It must be **beautiful above everything**, like a premium animated film: a sunny, airy, Ghibli-like dream with fluffy volumetric-looking clouds, lush grass, sparkling waterfalls and warm light. Great animation on everything that moves: nothing pops, snaps or teleports; things grow, ease, overshoot a little and settle. Calm and satisfying to play, spectacular to watch.

## Tech

* three.js r170 with WebGPURenderer (automatic WebGL2 fallback). Load it with an importmap from jsDelivr: map "three", "three/webgpu" and "three/tsl" to `three@0.170.0/build/three.webgpu.min.js`, and "three/addons/" to `three@0.170.0/examples/jsm/`.
* Use TSL node materials, OrbitControls from the addons, and a subtle BloomNode pass (strength ~0.4, threshold ~1.5) so only emissive things glow (the sun, lanterns at night, lightning, airship lamps).
* No external assets. Every texture is drawn on a canvas or generated as pixel data at startup. Every sound is synthesized with WebAudio. The only network requests are three.js from jsDelivr and the Fredoka font from Google Fonts; if the font fails to load, fall back to a system rounded sans-serif without breaking anything.
* Start the HTML with `<!doctype html>` and `<meta charset="utf-8">`.
* It must run inside a sandboxed iframe (`sandbox="allow-scripts allow-pointer-lock"`, no `allow-same-origin`). There, `localStorage` and cookies throw a SecurityError: wrap every storage access in `try/catch` and keep values in memory instead. Do not use `alert`, pop-ups or top-level navigation.
* Neutral tone mapping, soft 2048 shadow map (1024 on phones).
* Known three r170 pitfalls, avoid them:
   * the scene background is drawn after transparent objects, so draw the sky/backdrop as a mesh (or give transparent sky objects `depthWrite: true`), or they disappear;
   * never `.clone()` a CanvasTexture (the clone uploads black); create separate textures or use DataTexture;
   * never let a helper overwrite a shared temp vector that its caller is still using.
* The simulation runs on a fixed 60 Hz timestep and is frame-rate independent. At low frame rates, drop simulation time instead of exploding.
* A quality scaler lowers the pixel ratio, then particle counts, when frames get slow.
* Respect prefers-reduced-motion: softer shake, slower camera moves.

## Priorities

Build in this order and finish each tier properly before the next. A polished tier 1 beats a broken everything.

1. **Must be excellent:** the floating islands (rocky undersides, grass tops), the sea of clouds below, waterfalls spilling into the clouds, rope bridges you build that sway, airships sailing, the demo mode.
2. **Must work:** sheep, windmills, houses and crops, the wind tool, deliveries by airship, the sky kingdom meter, sunset and night, sound, the card UI, camera.
3. **Polish:** storms and lightning, rainbows in the spray, gliders and birds, lifting islands.

Never ship a feature half-working: if a tier-3 feature can't be done well, leave it out cleanly.

## The world

* **6–8 floating islands** of different sizes hovering at different heights over a **sea of clouds** that stretches to the horizon. Each island: a rounded grassy top (meadows, flowers, a pond or spring), and a jagged **rocky underside** with hanging roots, crystals and dripping water. Islands **bob gently** and drift a little.
* **Waterfalls** pour off several island edges: a glossy water ribbon, spray and mist at the bottom, fading into the clouds; sunlight makes **rainbows** in the spray.
* **Clouds:** soft, layered, sunlit from above (sprite clusters or noise shells), slowly flowing; islands cast shadows onto the cloud sea.
* **Sky:** a big gradient sky with a warm sun; a time slider brings **sunset** (pink and gold) and **night** (stars, a moon, lanterns on islands).

## Life

* **Sheep** that graze, wander and bleat; **windmills** whose sails turn with the wind; small **houses** with smoke; **crops** that grow in fields; **birds** that loop between islands; little **people** walking paths and crossing bridges.
* **Airships:** a few small blimps with propellers and swinging gondolas that fly between docks on islands, carrying goods (crates of wool, flour, fruit). They bank in turns, their shadows sweep the clouds.

## Tools (card, keys 1–5)

* **Bridge:** drag from one island edge to another to build a **rope bridge** (planks appear one by one); it sags and **sways** with wind and footsteps (a verlet rope with planks). People and sheep start using it. Too long a span breaks (planks fall into the clouds).
* **Wind:** drag to blow: pushes airships and clouds, spins windmills faster, bends grass, makes waterfalls flare sideways.
* **Grow:** tap grass to grow flowers, trees or crops; fields ripen from green to gold.
* **Lift:** drag an island up or down; its waterfalls stretch, bridges tighten or sag (and may snap).
* **Dock:** tap an island to build an airship dock; the airship network grows.

## Events

* **Storm:** dark clouds roll in, rain, **lightning** strikes the cloud sea, islands bob harder, bridges swing; then it clears with a rainbow.
* **Delivery run:** every airship takes off at once on a round of deliveries.

## Goal and milestones

* **Sky kingdom** meter: islands connected (by bridge or airship route), deliveries made, harvest grown.
* At 100%: a festival: lanterns float up from every island, fireworks over the clouds, all airships fly a parade loop.

Milestones (toasts, once each): "First bridge", "First delivery", "Windmills turning", "Golden harvest", "Rainbow", "Storm survived", "All connected", "Sky kingdom".

## Easter egg

Every so often below the cloud surface a huge shadow moves; if the player zooms all the way down to the clouds at night, a **cloud whale** surfaces, sings a long low song and dives again. Never hint at it in the UI.

## Interface

A light, playful UI that never covers the world. On phones the card becomes a compact bottom sheet.

* Top left:
   * small caps "POKEABLE · WORLD";
   * a big chunky rounded heading on two lines, "Sky" / "Islands", in Fredoka from Google Fonts, dark ink by day and light at night, with a tiny airship drifting past the "y";
   * caption "Build bridges. Fly the goods.".
* Top right: a live status dot with "WEBGPU · LIVE" (or "WEBGL2 · LIVE"), a speaker pill button (ON / MUTED), and "PAUSED" when paused.
* Right card "Islands": about 240 px wide, off-white, 20 px corners, soft shadow, no hairlines, sky blue (#3c9be6) accent, collapsible to a small pill. Contents:
   * a big animated "Sky kingdom" % with a bar, and small counters for bridges, deliveries and harvest
   * tool picker: Bridge, Wind, Grow, Lift, Dock, each with a drawn icon and its key number
   * event buttons: Storm, Delivery run
   * sliders with monospace value chips: Time of day, Wind, Cloud height, Sound (master volume)
   * switches: Life (on), Rainbows (on), Slow motion (¼ speed), Cinema
   * buttons Reset and New (random seed), a dark full-width Pause/Resume pill, and the world's number ("No. 0001").
* Bottom left: a one-line hint that changes with the tool:
   * Bridge: "Drag from island to island."
   * Wind: "Drag to blow the wind."
   * Grow: "Tap grass to grow."
   * Lift: "Drag an island up or down."
   * Dock: "Tap an island to build a dock."
* Bottom right: a collapsible "How it works" panel, 5–6 plain lines on the floating islands, the verlet rope bridges, the airship routes, waterfalls and clouds, the camera controls, and synthesized sound.
* Toasts at the top centre for milestones and events.
* Keys: 1–5 tools, G storm, D delivery run, Space pause, R reset, N new, M mute, S slow motion, C cinema, 0 reset view, Esc stop follow / exit cinema.

## Camera

* OrbitControls with damping and zoom to cursor, within sensible limits.
* Double-click an airship, a sheep or a bird to follow it; Esc or 0 stops.
* Camera bar (floating pill, bottom right of the scene area): zoom −, a zoom % readout, zoom +, rotate left, rotate right, reset; button moves tween smoothly.
* The default framing fits the whole world into the free area, accounting for the card and title.
* **Cinema (`C`):** hides all UI and slowly orbits the camera.

## Sound

* WebAudio only. Create the AudioContext on the first gesture and never before.
* Master gain feeds a compressor, so rapid actions never clip. Limit voices (about 16) and wrap every call in try/catch so a failing audio call never breaks the world.
* Loops: high airy wind, distant waterfalls (filtered noise per waterfall, louder when close), creaking ropes, birdsong by day and crickets at night, airship propeller hums.
* One-shots: wooden plank knocks when building bridges, sheep bleats, a windmill creak, a whoosh for wind gusts, a cheerful horn for deliveries, thunder and rain for the storm, a long low song for the cloud whale, chimes for milestones.

## Demo mode (required)

If the URL has `?demo=1` (or `#demo`), auto-play a deterministic 4.0 s loop:

* Rules:
   * Hide all UI and the cursor; never create an AudioContext.
   * Fixed quality, default seed, a few islands already connected, golden hour, default camera, no OrbitControls.
   * Drive the simulation from real elapsed time with the fixed timestep, and restart from the identical state every 4.0 s.
   * Start moving within 1 s of load, and stay readable at 15 fps.
* Timeline:
   * 0.0–1.5 s: an airship sails into frame between two islands, its shadow sweeping the clouds.
   * 1.5–2.5 s: a gust sways a rope bridge and spins the windmills.
   * 2.5–3.5 s: the camera-facing waterfall sparkles with a rainbow in its spray.
   * 3.5–4.0 s: the airship docks; sheep graze.

## Before you finish, check

* Bridges build between any two edges, sag and sway believably, snap if too long, and carry walkers.
* Airships fly routes, bank, dock and deliver; wind pushes them.
* Waterfalls, rainbows, clouds, sunset and night all look right.
* Lifting islands stretches waterfalls and strains bridges; storms and lightning; the festival and the cloud whale.
* Every tool, slider, switch, button and key; follow mode; Cinema; pause and resume; resizing to phone width.
* Sound behaviour.
* It works inside `<iframe sandbox="allow-scripts allow-pointer-lock">` with no errors (storage blocked).
* `?demo=1` matches the timeline.
* No console or WebGPU validation errors, and it stays smooth on a mid-range laptop.

Put the airships gliding between swaying bridges and waterfalls falling into the clouds first. It should feel like a daydream you can play with.

More worlds

All worlds →