Blog

Articles by Anderson Mancini on Three.js, React Three Fiber, WebGPU and building immersive 3D websites that people and search engines can find.

Endurance Racing: a free GT3 racing game in the browser

· 4 min read · three.js, webgpu, tsl, game-dev, racing, announcement

Drive a GT3 car on a rain-soaked Nürburgring in a browser tab, with Rescue, Echo, Photo Run and online rooms. Built with WebGPU, Three.js and TSL.

A closed circuit, proved by 6,816 launches

· 6 min read · game-dev, physics, three.js, rapier, testing

How Endurance Racing keeps cars on the Nürburgring: walls found by a flood fill, a small runtime net, and an audit that fires 6,816 cars at the barriers.

Echo: five laps where your past laps are the traffic

· 5 min read · game-dev, three.js, webgpu, racing, performance

A racing mode where every lap you finish comes back as a hologram of your own car that you must pass without touching. How it is built and what it costs.

The 300 MB limit that kills WebGPU pages on iPhone

· 5 min read · webgpu, ios, three.js, performance, debugging

iOS ends a WebGPU page's GPU process at about 300 MB, and every shader module costs 1.1 MB while it lives. Letting them go cut the peak from 469 to 274 MB.

Photo Run: develop the photos after the lap, not during it

· 5 min read · game-dev, three.js, webgpu, racing, performance

A lap with eight photographers where driving costs almost nothing: the lap is recorded, then the photos are developed from the recording on a replay screen.

Speaking at the first Three.js Conference, in Paris

· 3 min read · three.js, conference, tsl, webgpu, talks

A two-day TSL workshop and a talk at the first Three.js Conf in Paris, September 2026: what I taught, what I presented and where to watch the video.

VR Seat: on the three.js homepage and an Awwwards mention

· 1 min read · three.js, featured, awwwards, milestone, seat-selector

The 3D seat selector with spatial audio joined the three.js homepage in October 2022 and won an Awwwards Honorable Mention in January 2023.

Odd & Out: a co-op alien game built in six days

· 4 min read · game-dev, three.js, webgpu, multiplayer, performance

A free co-op alien adventure for the browser: worlds generated from a seed, online play through an invite link, and what it took to keep phones cool.

A concept camera page on the three.js homepage

· 1 min read · three.js, featured, milestone, product, concept

A Canon 5D Mark IV concept landing page, not an official release, was featured on the three.js homepage in October 2022.

Caring for animals in a game where nothing can go wrong

· 3 min read · game-dev, game-design, cozy-game, three.js

How animal care works in Lantern Valley: a bucket that calls the hungry, one prompt that follows what each animal needs, hearts and a single gift.

Octahedral impostors in TSL: 10,957 trees in 3 draw calls

· 3 min read · three.js, webgpu, tsl, performance, impostors

How to turn a mesh into an atlas of views and draw thousands of it as flat cards in WebGPU and TSL, with the demo and the source open under the MIT license.

Two players, two cameras and one extra pass: split screen

· 1 min read · webgpu, three.js, game-dev, multiplayer, odd-and-out

How Odd & Out draws two players on one screen: each hero has its own camera and post chain into a half-width target, and one last pass lays them side by side.

Graveyard Pinball: simulated in 2D, rendered in 3D

· 4 min read · game-dev, three.js, webgpu, physics, tsl

A free Halloween pinball for the browser: a 2D physics world drawn in 3D, a ball that never tunnels, and a bot that plays hundreds of balls to tune the table.

Cooking at a campfire where nothing burns

· 3 min read · game-design, game-dev, cozy-game, three.js

How cooking works in Lantern Valley: a heat that rises to a sweet spot, food that never burns, nine recipes that use fishing, farming and animals, and two effects.

Lumen Decor Studio is on the three.js homepage

· 1 min read · three.js, featured, webgpu, ssgi, milestone

An interior visualization with SSGI and SSR in WebGPU and TSL joined the three.js homepage in June 2026. What the project is about, and why this one matters.

Fog of war in a 128x128 byte grid

· 1 min read · shaders, game-dev, three.js, javascript, odd-and-out

Odd & Out's fog of war is a 128x128 Uint8Array painted by the characters, read by materials as a texture and by the minimap, and testable in Node.

Schumacher House wins a 2025 Webby People's Voice award

· 1 min read · awards, webby, milestone, three.js, architecture

Schumacher House won a 2025 Webby People's Voice award in Architecture, Art & Design. I was credited as Creative Developer at Neotix on the team led by L+R.

Letters with riddles instead of names, and no map marker

· 3 min read · game-design, game-dev, cozy-game, quests

How the mail quest of Lantern Valley works: five letters with a riddle on the envelope, any order, no punishment for a wrong guess, and a clue for those who are stuck.

Fixing foot sliding by reading the clip's own feet

· 2 min read · animation, game-dev, three.js, javascript, odd-and-out

Odd & Out moves animation clips far faster than they were made for. The game analyses each clip's foot tracks to find real touchdowns and add a stomp and waddle.

A steering wheel configurator earns an Awwwards mention

· 1 min read · awwwards, configurator, milestone, react-three-fiber, product

The racing steering wheel configurator won an Awwwards Honorable Mention on February 17, 2023: a product that stays in front and an interface that stays out of the way.

Herding chickens and finding a duckling with sound alone

· 3 min read · game-design, game-dev, cozy-game, animals

How two small quests in Lantern Valley move an animal where it must go: a gentle nudge for running hens and a duckling you find by ear, with no arrow.

Ultimate Lens Flare: an effect that knows what blocks the sun

· 3 min read · three.js, react-three-fiber, post-processing, shaders, open-source

How a lens flare for React Three Fiber knows when the sun is covered by a wall or by glass: one shader pass, a raycast and a little smoothing.

AutoFocus: depth of field that focuses on what you look at

· 2 min read · three.js, react-three-fiber, post-processing, open-source

A small React Three Fiber component that raycasts into the scene to focus the camera on what is in front of it, and how it became part of the official library.

Mending a boat by holding one button, and rowing at 11 m/s

· 4 min read · game-design, game-dev, cozy-game, three.js

How the boat of Lantern Valley is built: three favors that use three other crafts, three repair jobs that cannot fail, and why the row speed was a design decision.

Wish Hotels: four CSS Design Awards in 2020

· 1 min read · awards, css-design-awards, milestone, performance, neotix

In 2020 the new Wish Hotels website, built by Neotix, won four CSS Design Awards: Special Kudos, Best UI, Best UX and Best Innovation.

JS GameDev Summit 2023: Game Development with Three.js

· 1 min read · talks, three.js, game-dev, conference, react-three-fiber

My 2023 talk at JS GameDev Summit, from GitNation: how to start game development with Three.js, React Three Fiber, 3D libraries and physics engines.

A quest guide that never goes silent

· 4 min read · game-design, game-dev, cozy-game, quests

How the lantern of Lantern Valley decides what to point at: four rules in a pure function, a pin for a quest or one goal, and words when there is nowhere to point.

A cloaking effect in TSL: morphing a PBR material into glass

· 3 min read · three.js, webgpu, tsl, react-three-fiber, shaders

How the Predator cloak is built: two materials blended per pixel by an animated mask in TSL, with a UV grid or expanding rings, on WebGPU in React Three Fiber.

A holographic material built from three ideas

· 3 min read · three.js, react-three-fiber, shaders, glsl, open-source

How the holographic material for Three.js and React Three Fiber works: screen-space scanlines, a Fresnel rim, a flicker and additive blending, and its limits.

A map that starts under the mist

· 3 min read · game-design, game-dev, cozy-game, rendering

How the map of Lantern Valley tells a new player there is more world: a mist ring built from the shader's own formula, clouds with a question mark and no art files.

Threejs-Punk is FWA Site of the Day

· 1 min read · awards, fwa, threejs-punk, webgpu, game-dev

On October 3, 2026, Threejs-Punk, the free WebGPU racing game that runs in a browser tab, was named Site of the Day on FWA. Multiplayer opened to everyone.

Confetti for React Three Fiber, in one instanced mesh

· 2 min read · three.js, react-three-fiber, instancing, open-source

How a confetti explosion component for React Three Fiber works: one instanced mesh per explosion, per-particle color, a short life and the limits I set.

Every sound effect in Lantern Valley is a function

· 1 min read · web-audio, game-dev, javascript, lantern-valley, audio

Lantern Valley has no audio files for its effects: each sound is built from oscillators and noise by a small Web Audio synth, one file per domain.

Changing a material's color like a transition, not a cut

· 3 min read · three.js, react-three-fiber, shaders, glsl, configurator

How a mesh transition material for React Three Fiber works: a PBR base, a custom fragment shader and three ways to spread a new color across a model.

One condition language for quests, dialogue and spawns

· 1 min read · game-dev, javascript, data-driven, lantern-valley, design

Lantern Valley writes quest, dialogue and spawn rules in one plain-data condition language, evaluated by a pure function that tests can drive.

A browser save file that never leaves you with nothing

· 1 min read · game-dev, javascript, localstorage, lantern-valley, reliability

Lantern Valley's save uses a verified temp write, a backup of the previous good save, pure migrations and export/import, so a crash cannot erase progress.

Sharp text in WebGPU: three ways to draw a thousand labels

· 3 min read · three.js, react-three-fiber, webgpu, typography, open-source

How r3f-webgpu-text draws MSDF text in React Three Fiber with WebGPU, and when to use one mesh per label, grouped strings or one instance per character.

Lantern Valley's tide: a function of the hour you can learn

· 1 min read · game-dev, javascript, design, lantern-valley, systems

The sea in Lantern Valley rises and falls by a simple cosine of the game hour, same every day, felt only far from the valley. How and why it is pure rules.

A wet street without screen-space reflections

· 4 min read · three.js, webgpu, tsl, shaders, rendering

How Threejs-Punk makes asphalt look wet in WebGPU: a manual planar reflection, procedural ripple normals in world space and a lot of small fixes.

A realistic car, then an arcade car on top of it

· 4 min read · game-dev, physics, three.js, rapier, racing

How the car in Threejs-Punk drives: raycast suspension on Rapier, a tire and drivetrain model, a bench that measures it, and the arcade layer that made it fun.

A digital farm that makes sustainability playful

· 1 min read · react-three-fiber, webgl, sustainability, brand-experience, launch

A bilingual 3D experience for Dairy Farmers of Canada about the road to net-zero by 2050, built with React Three Fiber to replace a dull page.

A Canon 5D Mark IV concept page, featured on Three.js

· 1 min read · three.js, webgl, product, concept, launch

A concept product landing page for a camera, with studio lighting, glass reflections and a hero render, later featured on the Three.js homepage.

A pharma launch page with a DNA chain that sets the mood

· 1 min read · three.js, webgl, post-processing, landing-page, launch

A product-launch landing page for a fictional pharmaceutical brand, with living DNA chains and bloom and depth of field as its atmosphere.

A stylized New York built from thousands of meshes

· 1 min read · three.js, webgl, maps, performance, launch

A WebGL study of dense city geometry: a non-photorealistic New York skyline with selectable buildings, soft shadows and real-time navigation.

A smartwatch landing page where the hands tell your time

· 1 min read · three.js, webgl, product, configurator, launch

An interactive watch landing page in the spirit of Apple's product pages, with realistic rendering, a configurator that remembers choices and live hands.

Seashore House: my first archviz with real-time lighting

· 1 min read · three.js, webgl, archviz, lighting, launch

A coastal house over turquoise water, with golden-hour sun, soft shadows, a lens flare and reflective water, built in Three.js as an archviz concept.

A 3D map of four Brazilian cities, in 2021

· 1 min read · three.js, webgl, maps, awwwards, launch

A stylized 3D map of four Brazilian cities to find house condominiums, with interactive markers, a night mode and a helicopter easter egg.

A whole house in the browser with KTX2 and baked light

· 1 min read · react-three-fiber, archviz, ktx2, performance, launch

An architecture walkthrough of a full house, inside and out, built with React Three Fiber and tuned for the GPU with KTX2 textures and baked lighting.

Hexaverse: an early metaverse city you can walk through

· 1 min read · three.js, webgl, metaverse, city, launch

A stylized 3D digital city simulator from 2023: streets, districts and navigation that share one WebGL canvas, built as a metaverse concept.

Cereal Stays: a booking demo with its own scene controls

· 1 min read · react-three-fiber, three.js, tooling, launch

A 3D location booking demo built with a set of live scene controls for lighting, atmosphere and composition, shared as part of the experience.

A racing steering wheel configurator where the model leads

· 1 min read · three.js, webgl, configurator, e-commerce, launch

A 3D configurator for racing steering wheels: the product stays center stage, finishes and accents change live, and the setup can be saved and bought.

Slice Tilt: from 40 seconds of shader compile to 6

· 2 min read · webgpu, three.js, performance, game-dev, batchedmesh

A first visit spent 35-39 s compiling shaders. Pre-compiling before the first frame and using BatchedMesh cut it to 5-7 s, measured with a cold driver cache.

Gliding through volumetric clouds in the browser

· 1 min read · three.js, webgl, clouds, atmosphere, launch

An aviation concept in Three.js that shows volumetric clouds with light scattering and cinematic lens flares, running in real time.

Threejs-Punk is on the three.js homepage

· 1 min read · three.js, featured, threejs-punk, milestone, webgpu

A free WebGPU racing game that runs in a browser tab is on the three.js homepage since September 2026, a few weeks before FWA Site of the Day.

MSAA beat SMAA on a tile GPU, and KTX2 cut texture memory

· 1 min read · webgpu, performance, ktx2, anti-aliasing, game-dev

Two measured choices in Graveyard Pinball: 4x MSAA cost 2.3 ms against 6.5 ms for SMAA, and KTX2 took estimated texture memory from 230 MB to 45 MB.

Mana World: a scan score that becomes a living landscape

· 1 min read · three.js, react-three-fiber, shaders, launch

A Three.js experience for Mana, where a product score drives the world around your companion: five biomes from Toxic to Harmony, in real time.

41 pinball lamps in one material, with an ID map

· 1 min read · shaders, tsl, game-dev, pinball, textures

Graveyard Pinball's playfield has 41 individually lit lamps drawn by one material: a lit map, an 8-bit lamp-id map and one float per lamp.

A facehugger tribute with MediaPipe face tracking

· 1 min read · three.js, webgl, ar, mediapipe, launch

A cinematic space scene inspired by Alien: Romulus, with lens flares and shallow depth of field, plus a live AR facehugger filter on your own face.

22 pinball achievements as data, with five rule kinds

· 2 min read · game-dev, pinball, data-driven, javascript, design

Graveyard Pinball's achievements are a JSON file and a tiny rules engine: count, distinct, stat, event and custom rules with ball, game and lifetime scopes.

Unique Jewelry: an ultra-realistic diamond configurator

· 1 min read · three.js, webgl, jewelry, configurator, launch

A jewelry landing page with diamonds rendered in the browser: accurate refraction and dispersion, swappable stones and metals, and remembered choices.

A pinball dot-matrix display in one 4 KB texture

· 2 min read · tsl, webgpu, game-dev, pinball, shaders

How Graveyard Pinball draws a 128x32 amber plasma-style display with one tiny texture, one draw call, no lights and a director that queues scenes.

A pool of water with caustics and droplets in the browser

· 1 min read · webgl, react-three-fiber, water, shaders, launch

An interactive pool built with React Three Fiber and WebGL: ripples, refraction, projected caustics, underwater shading and droplets on the camera.

Lumen Decor Studio 2: furniture lit by a WebGPU sun

· 1 min read · webgpu, react-three-fiber, interior, launch

An interior decoration experience in WebGPU: real-time lighting, material swaps and time-of-day controls, presented in a calm, editorial layout.

GTAO in WebGPU without a second scene render

· 1 min read · tsl, webgpu, ambient-occlusion, post-processing, performance

How Threejs-Punk gets ambient occlusion from the beauty pass's own normals, why it needs 16 samples, and why it denoises instead of using TRAA.

Bloom as one mip chain: 1.8 ms down to 0.4 ms

· 1 min read · tsl, webgpu, post-processing, performance, shaders

three's UnrealBloom blurs five levels with separable Gaussians. A Call of Duty style mip chain does the same job in about a fifth of the time.

Fresh & Healthy: cosmetics bottles in glass and color

· 1 min read · three.js, webgl, glass, product, launch

A cosmetics landing page built to push glass rendering: bottles with believable transparency and refraction, and colors that change on the fly.

EQStudios: a stylized isometric room, lit in real time

· 1 min read · three.js, webgl, isometric, lighting, launch

A site built to show real-time rendering of an isometric room in Three.js, with live lights, interactive effects and directed camera moves.

OLA Research: an architecture firm that lives in one model

· 1 min read · three.js, webgl, architecture, brand-experience, launch

A website for an architecture studio whose whole identity is a single 3D model used as the main environment, so the portfolio is explored, not scrolled.

Cutting a WebGPU game's cold start from 29 to 14 seconds

· 2 min read · webgpu, three.js, tsl, performance, game-dev

Shader compilation dominated Threejs-Punk's first visit. Building each pipeline once, for the pass that draws it, halved the wait. What was wrong.

A haunted house that lives inside a Webflow page

· 1 min read · three.js, webflow, webgl, atmosphere, launch

A 3D haunted house produced with ImmersivStudio: atmospheric interiors and eerie lighting in a WebGL scene embedded in an editorial Webflow shell.

A house decoration configurator, as a live preview

· 1 min read · three.js, webgl, configurator, interior, launch

A Three.js concept for personalizing an interior: swap finishes, furniture and palette in one room and see it update in real time.

A Nikon product launch page with a 3D gallery

· 1 min read · three.js, webgl, product, concept, launch

A concept page for a camera unveiling: realistic product rendering plus a 3D gallery to inspect the camera from multiple angles, in real time.

Era Collection: a ring that ends in a configurator

· 1 min read · three.js, webgl, jewelry, configurator, launch

A jewelry landing page where you scroll through the story of one piece and arrive at a configurator to refine metals, stones and details in real time.

WebGPU frame time: the uploads you did not ask for

· 2 min read · three.js, webgpu, tsl, performance, game-dev

Most of Threejs-Punk's speed-up was work the engine did unasked: instance matrices, dynamic buffers and TSL uniforms re-uploaded per draw. What changed.

A Rolex-inspired watch with SSGI, SSR and the real time

· 1 min read · three.js, webgl, ssgi, product, launch

A concept for a luxury watch launch: metals and reflections with SSGI and SSR in real time, a configurator, and hands that follow your local clock.

Occlusion culling on the CPU for an instanced city

· 1 min read · three.js, performance, culling, webgpu, game-dev

three's occlusion queries do not fit an instanced city. Here is the small software depth buffer that culled 56-76% of Threejs-Punk's instances.

A Toyota Supra that reflects itself, in the browser

· 1 min read · three.js, webgl, automotive, ssr, launch

A real-time WebGL car demo with depth of field and screen-space reflections, where body panels, glass and chrome reflect the environment and the car.

Dubai Dream: a Mapbox map with a 3D layer on top

· 1 min read · three.js, mapbox, maps, webgl, launch

An interactive Dubai map built with Mapbox and a Three.js layer: pan and zoom the real map, click landmarks and dive into stylized geometry.

A 3.8 km city generated from a single reference image

· 2 min read · three.js, procedural, game-dev, tooling, webgpu

How Threejs-Punk builds its drivable city offline: a 944x846 map image and a Blender scene become roads, buildings, signs and lamps with no hand placement.

My Muscle Chef: a 3D meal package as the hero

· 1 min read · three.js, webgl, packaging, landing-page, launch

A product-launch landing page for healthy meals for athletes, where the package is rotated and explored in real time in the browser.

Travel Bugs: a crypto and travel page in WebGL

· 1 min read · three.js, webgl, landing-page, scroll, launch

A concept landing page that mixes fintech energy with wanderlust: interactive 3D elements and scroll-driven sections telling one story.

3D WearLab: fabric textures and decals in React Three Fiber

· 1 min read · react-three-fiber, three.js, configurator, textiles, launch

A clothing customizer to show fabric texture reproduction and decal workflows: change colors, apply logos and see textiles respond to light.

Light & Shadow: my first WebGPU SSGI experiment

· 1 min read · webgpu, ssgi, three.js, lighting, launch

One of my first WebGPU experiments: screen-space global illumination, ambient occlusion, dynamic shadows and a custom fire shader, with a time-of-day control.

Rendering many diamonds at once with refraction

· 1 min read · react-three-fiber, three.js, diamonds, refraction, launch

A React Three Fiber demo that renders multiple diamonds with convincing sparkle and depth, with ambient occlusion, contact shadows and color swapping.

A hyper-realistic yacht configurator in WebGPU

· 1 min read · webgpu, ssgi, configurator, three.js, launch

A boat configurator using SSGI and SSR on WebGPU: change colors and the time of day, switch cameras and see water reflections on the hull.

Fun Wheel: reflections, AO and GI on a configurable object

· 1 min read · react-three-fiber, three.js, rendering, configurator, launch

A 2023 React Three Fiber demo of rendering configurable objects in real time, with reflections, ambient occlusion and global illumination.

A house of kinetic clocks and a lot of triangles

· 1 min read · react-three-fiber, webgl, lod, performance, launch

A WebGL demo of rendering massive object counts with localized LOD: only what is inside the camera's radius stays visible, so billions of triangles are manageable.

Darth Vader and my first WebGPU post-processing demo

· 1 min read · webgpu, react-three-fiber, post-processing, ssr, launch

One of my first WebGPU experiments: Three.js WebGPU with React Three Fiber, post-processing and screen-space reflections, with an on and off toggle.

Camden Yards: an interior drawn from a single plane

· 1 min read · react-three-fiber, three.js, performance, stadium, launch

A stadium environment for Mantis with animated trees, birds, clouds and night mode, using BoxProjectionEnvMap to save hundreds of thousands of triangles.