/ghibli-threejs:threejs-floating-island-landmarkfrom ghibli-threejs
Generates a floating island landmark with a hanging rock cone, ivory castle, and procedural shaders in three.js. Use for sky castles, Laputa-style landmarks, or large procedural GLB models.
Ships in ghibli-threejs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A landmark that reads at 400 m as a silhouette in the cloud layer and holds up when you fly in and walk it: a rock cone stepping down in strata to hanging roots and a glowing crystal, an ivory keep with round towers and ribbed copper domes, an arrival platform, bridge, courtyard and stairs, gears, waterfalls tipping off the rim. Proven on a Laputa-style sky castle (≈66 m model at scale 1.5, ≈120k tris, 0.7–0.9 MB with Draco).
Stack: headless Blender 5.x generator on the studio.py helpers from
threejs-blender-glb-pipeline; three.js r186 WebGLRenderer, GLB through GLTFLoader +
DRACOLoader; materials patched with the patch() hook from threejs-ghibli-toon-shading.
Add
{{landmark}}, a floating island in the far cloud layer of{{scene}}, built as a headless-Blender GLB (blender/craft_{{slug}}.py) after{{reference image}}:
- an inverted rock cone whose profile alternates wall and ledge pairs (strata steps), with crag jitter, hanging crags and stalactites, short hanging roots and crystals at the tip;
- an ivory keep with round towers, ribbed verdigris domes on bronze ribs, an arrival platform → arcaded bridge → round courtyard → stairs → half-open bronze door;
- gears,
{{n}}waterfalls off the rim, banners, cypress, a guardian figure.Export named materials (
{{slug}} stone,roof,bronze,rock,water,window…), plant sites and spots as JSON in the web frame, and Draco-compress. In the browser, shade every material procedurally from object-space position (one table keyed by material name), skip the scene fog in favour of the far clouds' haze, spin it slowly, bob it, light the windows and crystals at night. Keep the hand-painted look: no photo PBR textures.Every new random draw uses its own
random.Random(seed); diff the plants JSON after each export.
references/island-generator.py)RIM, the CONE profile [(r, z), …] (wall/ledge pairs), terrace
levels, courtyard/platform centres, FALLS = [(deg, width, drop)]. The web scene reads
some of them (fall feet, rim height), so print them in a REPORT line and assert them.revolve() the cone profile with a crag(seed, amp) radial jitter so it doesn't
read as a lathe; boulders on the ledges; 12 hanging crags + stalactites under the ledges;
hanging roots 6–16 m (70 m roots hid the tip crystal); crystals seeded into the flanks
from their own rng.tower() (cornice bands, window slits, balcony ring), dome()
(verdigris lathe + bronze rib tubes + finial), arcade() (deck, arched spandrel slices,
piers), rail_ring() with gaps, balustrade() with vase balusters. Use ≥ 20 slices per
arch — 9 read as stairs.part() context →
exported as <part>__<material>), so the web can spin gears or turn a head.sheet() builds 2–4 strands of uneven width that bulge over the lip,
sway as they drop and narrow; seeded by the lip position. A low foam roll over the lip,
never bead-like balls down the sheet (they read as a string of pearls).spline() before
tube(); straight segments kink.{{slug}}.plants.json (cypress, shrubs, ivy,
ferns, leaf clumps; converted to the glTF frame (x, z, −y)), spots → {{slug}}.walk.json,
then npx @gltf-transform/cli draco (3 MB → 0.5 MB at 69k tris). Foliage is grown in the
browser on those sites (see threejs-procedural-vegetation).references/material-table.js)patch() with the table entry. Shaders work in object metres (vLocal) with an
object-space normal varying (vObjN = objectNormal) — no UVs.gLapH, the normal hook
tilts normal by dFdx/dFdy(gLapH) (perturbNormalArb). Fade detail with
lpFar() = smoothstep(45, 260, viewDist).fbm stretched vertically), copper showing in worn patches;
metalness .35, roughness .42.y*.42 + fbm*3.5) broken into slabs with dark joints and
cracks, paler weathered crusts.dk = smoothstep(2.5, −21, y) whitens, frays and fades the sheet as it drops.references/night-glow.js)FogExp2 is total, so set material.fog = false and replace
#include <fog_fragment> with the far clouds' own haze: horizon mist by height,
.28*smoothstep(250, 620, dist), plus a weather wash. Fade all of it with
smoothstep(90, 330, dist) so the island is crisp when flown up to..38*night), not the night fog colour
(that gave a black blob). Windows via glowAtNight(); hall/fire/crystal get a day and a
night emissive with a small pulse: I = (day + (night − day)·k)·(1 − p/2 + p/2·sin(t·ω)).
A soft additive halo sprite at the crystal, opacity .55·night.2.2·sin(.07t) m, spin .004 rad/s plus the
faintest roll. Pause the spin while it is flown to or inspected; the inspect camera rides
the bob (camera.y += dy; target.y += dy) so it holds still in frame.−joint*.9 at bump strength .5) tilts
every block's lip toward the sun and draws a bright bevel line: the castle reads as shiny,
reflective tile. Use −joint*.1, grain at ≈ .07 and .025, roughness .97,
specularIntensity .04, envMapIntensity .45. Grain at .3 is as bad: it ripples like
caustics. Joint darkening above ~20 % reads as cartoon brick.ball(jitter=…) drew from the global rng once per vertex, so adding
any jittered primitive — or changing a jittered ball's detail — reshuffled every later
draw and moved trees, shrubs and roots. Give each new feature random.Random(seed), wrap
bigger builders in an @own_rng decorator that swaps the global, and diff the plants JSON
after every export (it must be unchanged unless you meant it).glowAtNight() clones materials and a clone drops onBeforeCompile: call it before
patch().o.position..85 + .2·sin + 2.4·pulse,
halo ≤ .3.maxDistance clamps any view of a target 400 m away; aim 25 m along the line
of sight, and loosen limits while flying there, restoring them once settled.threejs-headless-visual-verification).references/island-generator.py — trimmed generator skeleton: cone, crags, own-rng
decorator, sheet(), spline(), part(), JSON + REPORT export.references/material-table.js — the material-name → shader table (stone, roof, bronze,
rock, water), the ashlar helper and the screen-space bump.references/night-glow.js — haze replacing fog, night emissive table, spin/bob step.threejs-blender-glb-pipeline · threejs-first-person-bvh-walk · threejs-ghibli-toon-shading · threejs-ghibli-sky-clouds · threejs-ghibli-night-mode · threejs-procedural-vegetation · threejs-stylized-rock-material · threejs-headless-visual-verification
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
floating-island, sky-castle, procedural-shader, blender-generator, glb
npx claudepluginhub nicksonthc/ghibli-threejs --plugin ghibli-threejs31 skills in this plugin
/threejs-blender-glb-pipelineBuilds a reference-image-driven asset pipeline from headless Blender to GLB for a three.js scene — an asset contract (units, axes, grounding, required mesh/material names, budgets, attachment numbers), one parallel subagent per asset group writing craft_<slug>.py generators, preview renders compared against the reference, measured-bounding-box placement in the web scene, Draco compression, and a scored asset quality pass. Use when the user has a reference picture and wants a 3D scene from it, asks to model props/trees/characters in Blender for three.js, export GLBs, fix glTF export issues (vertex-colour alpha, UV flip, axes, custom normals), compress models, or rate and improve every asset in a scene./threejs-boat-buoyancy-steeringFloats a boat (or any buoyant prop) on three.js water with Gerstner waves generated from one JS table that feeds both the GLSL vertex shader and a CPU waveHeight(), four-probe heave/pitch/roll damped springs, an arc-length drift lane that bends round rocks, click-to-steer W/A/S/D rowing with momentum and drag, an autopilot that pursues the lane back, and a chase camera that keeps the orbit. Use when the user wants a drifting or steerable boat, buoyancy, objects bobbing on waves, Gerstner waves on a river/lake, a boat autopilot, or a follow/chase camera behind a vehicle on water.