Skip to content

About

Object Lab: Fifteen interactive Three.js experiments, each in its own folder, with a shared 3D gallery.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Object Lab

Object Lab — floating Sprite, Fanta, and Pepsi cans, a mechanical keyboard, and a watch. Fifteen worlds. One scroll.

Fifteen scroll-driven 3D stories, one homepage, and a separate folder for every experiment.

The latest additions: Light / Leak, Glass Garden, Lift Off, Insert Coin, Paper Trails, and Deep Blue.

Gallery: https://object-lab-3d.netlify.app

Repository: https://github.com/SafaElmali/interactive-3d-lab

In motion

A 19-second film of the original collection, made with Remotion. 1080p, with music—sound on. This earlier film predates the six latest additions.

object-lab-19s-1920x1080.mp4

Run locally

Requires Node.js 22 or newer. No dependency installation is necessary: the pinned Three.js library, fonts, models, and textures are included locally.

npm run dev

Open http://127.0.0.1:4320/. Each project is also directly accessible at /projects/<folder>/.

npm run check  # Syntax, links, GLB integrity, geometry, scroll poses, and reverse-scroll checks
npm run build  # Copies the deployable site into dist/

The 15 worlds

Folder Experience Scroll sequence
projects/can-do/ CAN/DO Original lineup, featured can, back label, regroup
projects/sneaker-studio/ Sole Studio Floating colorways, airborne spin, outsole reveal, reunion
projects/keyboard-builder/ Key / Form Key wave, exploded layers, scattered caps, reassembly
projects/perfume-collection/ Essence Suspended bottle, lifting cap, drifting mist, fragrance trio
projects/vinyl-room/ Side A Turntable, needle drop, levitating record, orbiting discs
projects/watch-explorer/ Second Nature Watch portrait, exploded case, turning cogs, reassembly
projects/miniature-city/ Small Hours Floating buildings, golden hour, illuminated night, flyover
projects/car-garage/ After Hours Night portrait, paint and angle changes, moving light gates, final lap
projects/coffee-journey/ Daily Ritual Bean cloud, grinder, pouring coffee, steaming cup
projects/film-camera/ Light / Leak Camera portrait, separated lens elements, opening shutter, unfurling film
projects/glass-garden/ Glass Garden Empty vessel, settling soil, unfurling plants, fireflies at dusk
projects/lift-off/ Lift Off Launchpad, ignition, stage separation, satellite unfolding above Earth
projects/insert-coin/ Insert Coin Assembling cabinet, screen boot, emerging game world, neon finale
projects/paper-trails/ Paper Trails Flat sheet, forming folds, paper crane, flock taking flight
projects/deep-blue/ Deep Blue Translucent jellyfish, pulsing tentacles, drifting bloom, glowing depths

Surface quality

The shared renderer uses a local HDR studio environment, directed lighting, shadows between parts, and antialiased rendering up to 2× device resolution. Custom objects use beveled edges and smooth profiles. The turntable, watch, and buildings use photographic normal and roughness maps; glass and metal use physical materials. The car is the detailed Khronos CarConcept asset, with separate paint, glass, tire, and interior materials. Geometry and textures are reused across repeated parts.

All models, maps, and HDR files are served locally. Asset provenance is in CREDITS.md, assets/sources.json, and assets/materials/sources.json. CAN/DO retains its standalone rendering and motion.

Structure

index.html / home.js / styles.css   Gallery with live 3D previews
projects/<project>/                Standalone entry point, scene.js, and story.js
shared/                            Scroll renderer, choreography helpers, geometry, registry
vendor/                            Pinned Three.js 0.179.1 and addons
assets/                            Shared fonts and source metadata
scripts/                           Development server, checks, static build
.openai/hosting.json                Private Sites hosting configuration

Each scene.js provides the shared 3D model for the gallery and the full experience. Each of the fourteen story.js files owns its art direction, four chapter texts, palette, and scroll choreography. New worlds may also have a local style.css for their typography and atmosphere. shared/story.js handles rendering, native document scrolling, text transitions, loading, and navigation. shared/choreography.js contains deterministic interpolation helpers. CAN/DO retains its original independent implementation.

Motion and accessibility

  • Scroll using a wheel, trackpad, touch, or the browser’s standard keyboard controls. The canvas never captures scrolling or dragging.
  • There are no customization panels. Scene motion, color changes, exploded views, and transitions follow scroll position and work in reverse.
  • Reduced motion presents static chapter compositions without spins, parallax, or time-driven movement.
  • Rendering pauses in hidden tabs and resumes after browser history restoration.
  • Each final chapter links to the next project; the collection and source credits remain available throughout.
  • Models, textures, and fonts are local. No third-party asset requests or autoplay audio are needed.
  • The automated checks use real geometry with image-loading stubs. They verify 122 forward scroll poses per story across desktop and mobile camera proportions, reverse-scroll determinism for transforms, materials and surface geometry, reduced-motion chapter states, and local routes. They do not render pixels or test GPU shaders.
  • The six additions (Light / Leak through Deep Blue) have also been visually reviewed in a browser at desktop and 390×844 mobile sizes, including all four desktop acts. Their browser console checks were clean. This is a visual review, not a cross-browser or physical-device performance benchmark.

Deploy to Netlify

The Netlify project is object-lab-3d. Build settings are in netlify.toml; dist/ contains only the public site. The current project uses manual deployments:

npm run check && npm run build
netlify deploy --prod --dir dist

See CREDITS.md for original assets, modifications, and licenses. The watch movement, city, and coffee stages are illustrative models.

About

Object Lab: Fifteen interactive Three.js experiments, each in its own folder, with a shared 3D gallery.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages