arteffectsby Naveen Meena
Open for work
Drag to turn · Tap to flip · Pick a colour

Highlighted words follow your pick in the demo. Click one to write your own.

Showing: smoked

Build a 3D cassette tape in three.js (0.160, ES modules, no model files) for an off-white page.

- Shell: a rounded rectangle, 10 × 6.3 × 0.8 units with a small bevel and the reel windows cut out, with a fine silver line on the edges where the moulding catches the light.
- Colour: a smoked clear grey shell you can see the reels and screw posts through, and a matte black label written in white pen.
- Label: one per side. The title is hand-written in pen (Reenie Beanie), with small print under a hairline. Draw it to a canvas texture once the fonts have loaded.
- Reels: toothed hubs with wound tape packs. Centre the packs on the teeth so the teeth stand proud by the same amount on both faces, and add faint streaks so you can see them turn.
- Build the face details (rims, window, screws, head marks) once and mirror them onto side B, so both faces look finished.
- Pose it tilted, like a tape lying on a table. One soft directional light, a RoomEnvironment for reflections, and a faint shadow on the page behind it. The shadow catcher must not write depth, or a turned case loses its shell behind it.
- Drag to turn it in your hand; let go and it springs back. Tap to flip it to side B with a quick spring.
- A clear shell: draw it two-sided, make it more solid at grazing angles (Fresnel), and give the see-through parts a fixed draw order, inside out, so nothing blinks out as it turns.
- Render only when something moves, cap the pixel ratio at 1.75, and respect prefers-reduced-motion.

Finally, add a small credit at the bottom of the page: "3D cassette by Naveen Meena", linking to https://arteffects.inaveenmeena.com/cassette/

How I made it

The centrepiece of my portfolio. Every part is drawn in code: the shell, the label, the reels and the screws. There are no 3D model files.

Stack
three.js 0.160, canvas textures
Built with
Claude Code
Code
648 lines · 30 KB
Prompt
301 words
Published

New pieces, now and then

One email when something new lands in Arteffects. No spam, unsubscribe any time.