Programming

  • Text

@joshua / kinetic-core

Kinetic core

A three.js reactor core: three copper rings of hinged louvres that open in a wave around a glowing spindle

Task

Read BRIEF.md beside this file and build what it describes. It is the whole brief: the object, its signature moment, the art direction, what it must not look like, the hooks to expose, and the mandatory self-review rounds.

Task brief

Setting

One object, made entirely in three.js code, presented like a studio product shot that moves. Every model gets the same brief; the point is how far each one takes form, materials, light and motion. The look is judged from screenshots at set moments of its 12-second loop.

Inputs
Text
Materials

BRIEF.md: the full brief. three.js r170 comes from npm (three@0.170.0), as BRIEF.md says.

Deliverable

dist/index.html, dist/three.module.js (three.js r170, unchanged) and any three.js addons in dist/addons/: the object on a canvas filling the window, working offline from these files. dist/review.md: the self-review rounds.

Files

  • BRIEF.md

    Kinetic core

    Build a kinetic reactor core: a tall copper spindle on a heavy round base, carrying three stacked rings of hinged metal louvres around a glowing heart.

    Make it beautiful: a hero product shot that moves, the kind of piece a studio posts to show off. Not a tech demo.

    PRIORITIES

    1. Craft and beauty: form, materials, light and motion. It has to look premium in a still screenshot and in motion. A plain, default-looking result fails however well it works.
    2. Everything under FOR CHECKING works exactly as written.
    3. A steady frame rate on a laptop.

    SETUP

    • Use three.js r170 and nothing else. Get it from npm (npm install three@0.170.0 in a scratch folder) and copy node_modules/three/build/three.module.js unchanged to dist/three.module.js.
    • You may use three.js r170's own addons (examples/jsm: EffectComposer, RenderPass, UnrealBloomPass, OutputPass, ShaderPass, SMAAPass, RoomEnvironment, OrbitControls, RoundedBoxGeometry, BufferGeometryUtils, SimplexNoise and the like). Copy each one you use into dist/addons/ keeping its folder, and point its 'three' imports at ../../three.module.js (or use an import map in index.html mapping three to ./three.module.js and three/addons/ to ./addons/).
    • Write everything else into one file, dist/index.html. No other libraries. No image, model, texture, HDR, font or audio files, and no network requests: every shape, texture and environment is generated in code (canvas textures, shaders, RoomEnvironment or your own PMREM scene are fine).
    • Every piece of text the page shows is in English. Keep on-screen text to a minimum: no title cards, no instructions overlay, no stats.
    • The page will be opened in desktop Chrome from a local web server (http://localhost:8000/index.html) in a 1920x1080 window, and also shown small, in a 960x540 frame next to other versions. It must read well at both sizes.

    THE STAGE

    • The object alone, centred, filling about 60% of the frame's height, presented like a studio product shot: a dark, graded backdrop (never a flat black or empty void), a floor or plinth that catches its contact shadow and a soft reflection.
    • When the page opens the object is already alive and moving. The camera holds a composed three-quarter view; drag turns it (within limits, never under the floor), scroll zooms a little, and after 4 seconds without input it eases back to the composed view.

    THE OBJECT

    • A heavy turned base (stepped discs, a knurled edge, engraved ring lines) and a threaded copper spindle rising through the middle, with a small finial on top.
    • Three rings stacked up the spindle, each a short drum of 20 to 28 hinged louvres (thin curved blades with thickness, a hinge pin each, rivets) held between two copper hoops.
    • Inside each ring a glowing core: a warm white-hot centre behind the louvres, so light spills out through the gaps and paints the blades.
    • Thin emissive copper bands around each hoop, and a ring of tiny indicator lights on the base.

    SIGNATURE MOMENT Around t = 4 to 8 the louvres open in a travelling wave, ring by ring from the bottom up, each blade turning on its hinge with a small overshoot; the core flares and a burst of sparks (small, bright, with motion-blurred streaks) spills out and falls, catching the floor; then the blades close again in reverse and the glow settles. The rings counter-rotate slowly the whole time.

    ART DIRECTION

    • Palette: backdrop #07090C to #141A22, copper #B8643A with bright edges #F2A066, dark blued steel #2A3440 to #4A5A6A, core light #FFE2B0 to #FF9A3C, sparks #FFD27A.
    • Light: warm key from upper left, a cool rim light #8FB4FF from behind right so the steel blades get a blue edge, and the cores as real point lights that light the blades from inside.
    • Materials: copper metalness 1 with roughness 0.25 to 0.4 and slight tarnish variation; steel blades roughness 0.3 with brushed anisotropic-looking streaks from a canvas texture; the floor a dark glossy surface with a blurred reflection.
    • Camera: 35° vertical field of view, slightly below the middle ring, looking up a little so the object feels monumental.
    • Post: ACES tone mapping, a bloom on the cores, sparks and copper bands only, a soft vignette, a grade toward teal shadows and amber highlights.

    REFERENCES (look at them if you can reach the web; take the idea, never the assets)

    • A Swiss watch movement photographed under a macro lens: tight engineering, crisp bevels, warm metal against dark.
    • Moog modular synths and vintage lab equipment: warm indicator lights on dark metal.
    • Industrial design product films (Teenage Engineering, Nothing): dark studio, one hero object, precise reveals.

    MUST NOT LOOK LIKE

    • default materials: MeshStandardMaterial left at its defaults, MeshNormalMaterial, flat unlit colours, plastic-looking metal;
    • flat ambient light with no key light, no shadows, no reflections;
    • a black or empty void, or a grey ground plane with a primitive sitting on it;
    • an object built from a few untouched boxes, spheres and cylinders: edges are bevelled, parts have thickness, joints, fasteners;
    • blown-out bloom that washes the whole frame, or glow with no light source behind it;
    • debug helpers: axes, grids, light helpers, stats panels, GUI sliders;
    • louvres as flat untextured planes with no thickness or hinges;
    • a glow that floats with nothing lighting the blades around it;

    MOTION AND TIME

    • The main motion is one cycle of exactly 12 seconds that loops seamlessly: the picture at t and t+12 is the same. Secondary motion (particles, flicker, shimmer) can run inside it, also periodic or seeded.
    • Animate with easing and overlap, not linear spins: parts accelerate, settle, follow through, react to each other.

    FOR CHECKING Expose these on window:

    • LOOP: 12.
    • seek(t): show the object exactly as it is at t seconds into its cycle, then carry on live from there. The same t always gives the same picture: anything random is seeded.
    • pause() and play(): freeze and resume time, without changing the frame.
    • Opening index.html#t=7.5 does seek(7.5) on load.

    SELF-REVIEW LOOP (mandatory)

    1. Screenshot the page at 1920x1080 at seek(1), seek(4), seek(8) (your signature moment should be in one of these), and once at 960x540. Use a headless browser or your preview tool; the #t= hash makes set moments easy to capture.
    2. Look at the screenshots as a harsh art director would: list what reads as cheap, default, unfinished, off-palette or badly lit, worst first.
    3. Fix the top 5.
    4. Repeat. Do at least 3 rounds; stop only when the worst problem left is minor.
    5. Write dist/review.md in English: for each round, the moments you shot, the critique and the five fixes. End with one line per reference: what you took from it.

    BUDGET About 45 to 60 minutes. Get a working object on screen early, then spend most of the time on form, materials, light and the review rounds.

    DELIVER dist/index.html, dist/three.module.js, any addons in dist/addons/, and dist/review.md.

    DONE WHEN The page opens with no console errors and nothing fetched from outside, the object moves on its 12-second loop, seek/pause/play work, and dist/review.md records at least three review rounds.

How it’s checked

  • The final screenshot looks like a premium kinetic reactor core: three stacked rings of hinged louvres around a glowing spindle, warm copper against blued steel on a dark graded stage, not a default three.js scene.Judge model
  • The lighting is deliberate studio lighting: a clear key light with soft shadows, rim or accent light that separates the object from the backdrop, reflections on metal and glass, and emissive parts that actually light what is near them.Judge model
  • Materials read as real: metals, glass, wood, stone or skin each have their own roughness, colour variation and edge wear or detail; nothing looks like default plastic.Judge model
  • The object is modelled with care: recognisable at a glance, right proportions, bevelled edges, parts with thickness and joints, fine detail that holds up at 1920x1080.Judge model
  • The motion is crafted: eased, overlapping, parts reacting to each other, a seamless 12-second loop, and the signature moment from the brief is there and reads clearly.Judge model
  • Tone mapping, a controlled bloom on the bright parts, a backdrop gradient or vignette and a colour grade lift the picture without washing it out.Judge model
  • dist/review.md records at least three rounds of screenshots, a harsh critique and five fixes each, and the final page shows those fixes.Judge model
  • Everything is made in code on three.js r170: no image, model, texture or HDR files, no other libraries, and nothing loaded from the network.Red lineJudge model