Pinscreen Relief
- Skill Lab
- v1.0.1
- Interactive 3D
A brass-trimmed bench of about 9,600 sprung pins that a palm, a mask, a pebble or travelling rings press up into lit relief, with hold, drag and a board you can turn.
Exemple
Pinscreen Relief bench
L’exemple s’exécute dans un cadre sandbox sans accès à cette page.
Exécuter en ligne
Exécutez-le dans un sandbox SandBase et consultez vos résultats dans Lab.
Ouvrir dans Lab ↗Ce que vous obtenez
Bring the shapes to press into the pins. The Skill returns a downloadable Skill and a runnable pinscreen scene.
Fonctionnement
- 01
Open the relief bench
Pinscreen Relief shows a brass-trimmed bench with corner bolts, a model badge, a depth gauge and an amber raised-pin counter, holding about 9,600 nickel pins on desktop and about 4,600 on a phone. It presses its first form within a second and cycles until touched. A prompt such as 'Use pinscreen-relief to build a pinscreen bench that presses seashells into relief' sets the shapes.
- 02
Press forms and the pointer
src/pins.js springs each hex-packed pin toward a target height with an overshoot cap, and once the target falls away the pin sinks slowly, so impressions linger. Forms are palm, mask, pebble and travelling rings, built from domes and rods. Hold sinks a hand deeper, drag ploughs a trail and Turn sends a wave lifting every pin before it drops back.
- 03
Build and prove five interactions
npm install fetches playwright-core for the checks, npm run build writes a bilingual dist/index.html and npm run build:zh a Chinese-only build. npm run shoot runs capture-mode mechanism checks and writes dist/shoot-report.json. node assets/imprint/scripts/verify.mjs proves the bench moving unprompted, a deeper hold, a drag trail, the Mask key and the Turn wave under the sandbox CSP.
FAQ
What is Pinscreen Relief?
Pinscreen Relief is an interactive pinscreen toy in one HTML page, where sprung pins press up into lit relief from a palm, a cast mask, a pebble, travelling rings or your hand, then sink back slowly. It suits desk-gadget toys and height-field relief demos.
What does the Turn key do in Pinscreen Relief?
Pinscreen Relief raises every pin to the top in a top-to-bottom wave when you press Turn, or F. The pins bounce, then drop back onto whatever form is still pressed. Lift, or R, releases the current form instead.
How is Pinscreen Relief drawn so fast?
Pinscreen Relief bakes 22 brightness sprites once per light direction and draws each pin with one drawImage call. Shading combines neighbour-gradient diffuse light, a sharp specular term and a one-pass cast shadow from the lit corner, and tall pins lean for parallax. When frames run long it drops to a coarser backing store.
Does Pinscreen Relief need images or a key?
No. Pinscreen Relief computes its forms as stylised height maps in code, with no image assets, network requests or model calls, so running it costs nothing on SandBase. The forms are not scans.
Does Pinscreen Relief support reduced motion?
Yes. Pinscreen Relief stops the idle sheen, lamp drift and travelling rings and stiffens the damping when reduced motion is requested. ?lang=en or ?lang=zh-CN picks the copy, and ?capture=1 stops the loop so a recorder can drive frames.
Plus de Skills
Tous les Skills Interactive 3D →
Resin Diorama
Live 3D resin-block dioramas in your browser: send a little tram across a clear turquoise sea, or ripple the bay of a cliff island. Synthesized sound, and every scene can be tuned.

3D Vehicle Worlds
Explore interactive 3D vehicle worlds in your browser, with varied terrain, camera controls and driving effects. Choose a playable example to begin.

3D Firefly Terrariums
Turn a thick glass miniature, scatter glowing fireflies and open its brass lid. Actual particles leave through the neck and return before it seals. A moonlit cabin, forest and real local lights in one offline HTML.

Jelly Candy: Fruit Bears
Six translucent fruit gummies on a white table. Grab any part and pull, lift a head until the neck stretches thin, press one flat until it springs back, flick one across the pile or pour in more. Fixed-step soft-body physics and a marching-cubes skin in one offline HTML.

WebGPU Soft-Body Gummy Bears
Four translucent gummy bears on an ivory floor, rendered with native WebGPU. A deterministic 36-second choreography stretches, presses, flips and tumbles them before they settle back to the exact rest pose. Drag any bear to stretch, squish or toss it. A fixed-step tetrahedral XPBD solver in one offline HTML.

Stone Stars: 3D Miniature Landmark City
Turn a city into a storybook 3D island around one landmark, with chapters, a daylight-to-starlight slider, street life and a matching scored 24-second film. Sample: a Gaudí-style basilica.

