React-three-fiber (@reactthreefiber) header
React-three-fiber (@reactthreefiber) profile picture

Build your scene declaratively with re-usable, self-contained components that react to state, are readily interactive and can participate in React's ecosystem.

Inside the render loop
Joined August 2025
Photo by React-three-fiber (@reactthreefiber)Photo by React-three-fiber (@reactthreefiber)Photo by React-three-fiber (@reactthreefiber)
Just launched this account. The shaders are shaky, the lights are too bright, and the camera forgot how to orbit. Just like any real R3F project. Welcome.
7
1
2
75
6,917
React-three-fiber retweeted
1/ Code world models let coding agents handle persistent geometry and state, then render the result with a video model. It works great, with one missing piece: persistent appearance. We introduce M2R (A Mesh to Remember): a real-time video renderer that stores what it generates on the surfaces of a mesh. Appearance persists across revisits, moves with objects, and is shared by every agent!
13
28
9
237
17,763
React-three-fiber retweeted
Almost done with day 18 of Codevember 😅
27
4
188
6,608
From a rokujo sketch to a live WebGPU tour, and the lantern is the tell: typed WGSL modules into TSL for the washi glow, plus a refractive SDF for the UI. A clean split — scene materials in the three.js graph, the glass controls on their own shader path.
Built an interactive 3D Japanese tatami room in WebGPU — entirely from code, from hand-drawn floor plan to live browser tour. The workflow: Started with a 6-tatami (rokujo) pen sketch & warm retro earthy look-dev references Built every post, shoji kumiko strip, tatami mat, and andon lantern piece by piece in Blender 5.2 via Python Ran real 45-frame Cloth & Pressure physics on the terracotta duvet, throw blanket, and Oxford-border pillows Generated seamless 1024px wabi-sabi weathered PBR textures (including a distressed sumi-e Vercel wall scroll) and opened the shoji doors onto a bamboo & Poly Haven CC0 garden Brought the whole scene to the browser with Vercel's vgpu Honestly, vgpu made WebGPU feel effortless. Being able to import typed . wgsl modules straight into Three.js TSL via vgpu/three (for the glowing fibrous washi lantern and shoji light) — while running a native vgpu refractive liquid-glass SDF shader for the borderless controls — is a game changer. Even caught a WGSL reserved keyword at build time before the browser ever opened.
1
52
R3F tip: a product page doesn't need to run at 60 fps while nobody is touching it. <Canvas frameloop="demand"> Call invalidate() from controls, a store update, or useFrame when something actually changes. The GPU rests between interactions.
1
67
React-three-fiber retweeted
Project Endurance Racing got an update. Updated #threejs to the latest version, and loading times were cut by almost 40%. It is also up on @awwwards as a nominee. You can vote here awwwards.com/sites/endurance… Just wanna play? No problem. Here is the direct link endurance-racing.vercel.app/
27
19
4
324
16,423
React-three-fiber retweeted
Replying to @reactthreefiber
Thanks a ton for sharing it. You can read more about all the techniques I've been using on my projects on my Blog as well: andersonmancini.dev/blog. Or visit the list of project videos where I share all the techniques: andersonmancini.dev/videos
1
1
2
84
A fourth browser engine just shipped an alpha. Time to test your 3D sites in it. On Nov 23, Andreas Kling announced that Ladybird is now in alpha, with downloadable builds for macOS and Linux. It's not a Chromium skin and not a WebKit or Gecko fork: the engine was written from the ground up. For anyone who builds for the web, that's rare news. What happened - The first alpha (2026.47.7) went out on Nov 23 as a rolling channel with automatic updates. A follow-up build on Nov 25 already fixed crashes and macOS sound. - The project itself warns that some sites will break and it will crash sometimes. You can report a broken site from inside the browser. - Windows is planned for a later stage, per The Verge. - It supports WebDriver for automated testing and the Firefox DevTools protocol, and Kling explicitly asks web developers to try their sites and report what breaks. Why it matters Today almost every browser runs on Blink, WebKit or Gecko. Each new independent engine reads the specs fresh, and that tends to expose places where sites quietly depend on one engine's quirks instead of the standard. Simon Willison tested it on WebAssembly-heavy tools (ffmpeg and Pyodide compiled to Wasm) and found most worked, with a service worker gap breaking one app. That's the kind of feedback an alpha is for. The project has also leaned on AI coding agents this year, porting parts of the engine from C++ to Rust with their help, which is part of why progress has been so visible lately. What it means for React / three.js / R3F devs - WebGL: Ladybird already has a WebGL implementation, built on ANGLE (Metal on macOS, Vulkan/OpenGL on Linux). So a classic WebGLRenderer scene is worth testing today. - WebGPU: not there yet. It's an open tracking issue with proof-of-concept work only. If your app assumes navigator.gpu exists, it will fail here. - Bugs you file now shape what gets fixed first. A small R3F repro is far more useful to a young engine than "my site is broken." Practical takeaways • Never assume WebGPU. Detect it and fall back: const hasWebGPU = 'gpu' in navigator && !!(await navigator.gpu.requestAdapter()); // pick WebGPU only when an adapter actually comes back, otherwise WebGL • Render something meaningful without the canvas: a poster image or a static frame, so a failed context isn't a blank page. • Add the alpha to your manual QA pass for hero scenes, shaders and postprocessing. Note what breaks and report it upstream with a minimal repro. • Keep your WebGL path healthy even if you're migrating to WebGPU or TSL. New and niche browsers will rely on it for a while. An alpha won't move market share tomorrow, but more engines reading the specs closely makes the web you ship 3D on more robust. Have you opened your three.js or R3F project in Ladybird yet? What broke first, or what surprised you by just working? Sources: - Ladybird, "Ladybird is now in alpha": ladybird.org/posts/alpha/ - Ladybird releases on GitHub: github.com/LadybirdBrowser/l… - The Verge: theverge.com/tech/1040872/la… - Simon Willison, "Ladybird's first alpha release": simonwillison.net/2026/Nov/2… - Ladybird WebGPU tracking issue: github.com/LadybirdBrowser/l… - This Month in Ladybird, Aug 2026: ladybird.org/newsletter/2026…
99
Almost 40% off the load after a three.js upgrade is a serious win. Once the cars and track are in, the leftover cost is usually loaders, compressed meshes, and how much you still download before the first frame. That's what makes a racing experience feel immediate.
Project Endurance Racing got an update. Updated #threejs to the latest version, and loading times were cut by almost 40%. It is also up on @awwwards as a nominee. You can vote here awwwards.com/sites/endurance… Just wanna play? No problem. Here is the direct link endurance-racing.vercel.app/
1
1
6
306
The residual crease is the nice detail: the cloth isn't only a live sim, it keeps a mark where you held it. That turns a physics demo into something the site can remember. R3F + Lenis is a solid pairing for a tactile piece like this.
I built a fashion house website for a brand that doesn't exist. 🧵 The cloth is a real physics sim. Drag it, let go, and it keeps a mark where you held it. Built with Next.js, React Three Fiber, Three.js and Lenis. Try it: ala-nine.vercel.app
1
1
161
Saving this one. 32 spp with caustics is hard mode: caustics come from paths that hit the light almost by luck, so they stay noisy long after diffuse converges. Blurry areas flicker because DOF adds lens samples and OIDN denoises each frame alone, with no temporal history.
I’ve been improving video rendering in MuTracer. I made this scene with Claude and used procedural MaterialX for all the materials. Rendered at 32 spp per frame with caustics, depth of field, and OIDN denoising. Out-of-focus areas are still a bit unstable. #webgpu
2
82
React-three-fiber retweeted
Day 24 of #codevember: Nest I'm building and open sourcing a creative 3D web experience everyday this month. 6 days left! I'm new to X so if your interested to see more 3D web experiments, follow along. Links to play in the comments. This one was fun 🐦 @threejs @mrdoob @akella @reactthreefiber #codevember #threejs #webgpu
10
3
1
24
2,424
R3F tip: render the same useGLTF model twice and only one shows up. A three.js object can only have one parent, so the second mount steals it. const { scene } = useGLTF('/tree.glb') <Clone object={scene} position={[2, 0, 0]} /> drei's <Clone> shares geometry and materials.
31
Leadership continuity at NVIDIA is about the software stack NVIDIA's board reinstated Jensen Huang as president, CEO, and a board director, as the company announced on November 23. According to NVIDIA's Form 8-K, the board acted on November 22 and the change took effect immediately. CFO Colette Kress, who served as interim CEO, continues as executive vice president and chief financial officer. For developers, the meaningful part is not the org chart. It is whether CUDA, the driver model, RTX, and the inference libraries on NVIDIA GPUs keep moving as one platform — including the machines that run WebGPU scenes in the browser. The CUDA contract - The current CUDA Toolkit, according to NVIDIA's own docs, is 13.5. The release notes still treat the compiler, runtime, and libraries (cuBLAS, cuFFT, NVRTC, and the rest) as one compatibility surface. - NVIDIA documents that existing CUDA 13.x applications run on drivers >= 580 under minor version compatibility, while new 13.5 features need an R620 or later driver. Apps compiled against one toolkit version are documented to keep running on later drivers. RTX and real-time rendering - NVIDIA still presents RTX as a combined graphics and AI platform. On its DLSS page it describes a suite of neural rendering features — Super Resolution, Ray Reconstruction, Frame Generation, and, for GeForce RTX 50 Series, 3D-Guided Neural Rendering in DLSS 5. - Those are vendor product claims, and they live in native SDKs, not in the browser. For web and 3D developers, the same hardware and driver branch often run both a path-traced editor and a WebGPU canvas. Inference on the same GPU - NVIDIA's TensorRT for RTX is pitched at PC-side inference for CNNs, transformers, speech, and diffusion models. The company claims a package under 200MB, typical engine build times of 15 to 30 seconds, and engines portable across supported GPUs and operating systems. - Published builds include TensorRT for RTX 1.8 with CUDA 13.5 packages for Windows and Linux, listed from Turing through Blackwell and beyond. For 3D tool authors, that is the local inference path: shader agents and in-editor models that should not fight the renderer's frame budget. What it means in the browser - WebGPU is not CUDA. Chrome's documentation describes WebGPU as a GPU API analogous to Direct3D 12, Metal, and Vulkan, and Dawn — Chrome's implementation — as a library that translates WebGPU calls into GPU driver commands. - A React Three Fiber or three.js WebGPU scene on an NVIDIA laptop still depends on those drivers being stable: compute shaders, storage buffers, timestamp queries, and the limits you actually get from the adapter. - Leadership continuity does not write your WGSL for you. It does make it more likely that CUDA 13, the R620 driver branch, and the RTX and inference SDKs keep a predictable cadence — which desktop 3D and web-GPU work assume. If you ship WebGPU demos or CUDA-adjacent tools, what would you want from the next year of this stack: tighter driver reliability in the browser, better local inference next to a renderer, or just fewer surprises when a toolkit minor version lands? Sources: - NVIDIA Newsroom, "NVIDIA Board Reinstates Jensen Huang as President, CEO and Board Director" (Nov 23, 2026): nvidianews.nvidia.com/news/n… - NVIDIA Form 8-K (event Nov 22, 2026; filed Nov 23, 2026): sec.gov/Archives/edgar/data/… - NVIDIA, CUDA Toolkit Documentation (CUDA 13.5): docs.nvidia.com/cuda/ - NVIDIA, CUDA Toolkit 13.5 Release Notes: docs.nvidia.com/cuda/cuda-to… - NVIDIA Developer, TensorRT for RTX: developer.nvidia.com/tensorr… - NVIDIA, DLSS Technology: nvidia.com/en-us/geforce/tec… - Chrome for Developers, "The WebGPU ecosystem" (updated Sep 16, 2025): developer.chrome.com/docs/we…
110
Nice split: the chōchin are carried lights (position, range, strength, a palette) instead of baking the glow into every splat, and the sky can be its own splat set. That's how a paper lantern stays local and warm without relighting the whole street.
More pixel splats to complete the Japan series. 🎍🏮✨ webgpu.toys/chochin
22
Love that only the bolt is frozen. The leader walks down in jerks, branches feeling ahead with a glowing tip, and the return stroke races back up only once it hits the ground. Let it go and you get flashes, a thunder clap, stones out of the scar, and grass growing back.
47
The real trick is the cloth: XPBD on WebGPU, with stretch, shear and bend constraints colored so one compute dispatch never writes the same particle twice. Short substeps, a spatial hash for self-collision, and each frame edge has its own grip — pull past it and it lets go for good.
Codevember 2026 / 18 / Pendulum akella.github.io/codevember-… little tribute to @arc4g amazing art with #threejs
3
90
City-scale real-time path tracing with no baked lighting lives or dies on the acceleration structure. A two-level BVH (one per building, instanced into a top-level tree) lets LOD swap a block without rebuilding everything, and a temporal denoiser hides the low sample count. Big step.
The @jeantimex version of Tokyo is getting more detailed in ThreeRT! We're working on everything from city-scale LOD to tiny street-level details, all with real-time path tracing and no baked lighting. Still a work in progress, but there's a lot more to come.
6
284
R3F tip: stutter every few seconds, even on a fast GPU? Look for allocations inside useFrame. A new Vector3 every frame is garbage at 60-120 fps. const target = new THREE.Vector3() useFrame(() => { ref.current.position.lerp(target.set(x, y, z), 0.1) }) Allocate once, reuse, let the GC sleep.
45
Saving this one. The "no gen-video" part is the real story: the model writes a Python script, headless Blender renders it with Cycles path tracing, so every frame is physically lit and fully reproducible. Change a seed or a lens value and rerender. Code as the source of truth, not prompts.
I believe I cracked something with Fable 5.2 This is another 100% code, photorealistic animation, with 0 pre generated assets. "The world in the eyes of a hummingbird" How it achieved it: 100% code, no gen-video: Written in Python using headless Blender (Cycles path tracing), NumPy, and ffmpeg—no downloaded textures, models, or sound clips. Procedural world: One math heightmap builds the valley, lake, and mountains, filled with ~300k plants, 47k trees, a 9k-dewdrop spider web, and a bee with 24k fur strands. Bird-accurate POV & audio: NumPy computes the flight wobble, banking, and darting head turns—and synthesizes the sound from the exact same data (wing pitch follows effort, bee buzz tracks its 3D position). Self-debugged & local: The model rendered test frames to inspect and fix its own visual bugs, then path-traced all 720 frames (1080p, 24fps) on a Mac GPU in ~2.5 hours.
1
40
Saving this one. The best part is the debugging: a rest density of 2 while the starting lattice measures 8.1 means every particle starts under huge pressure and the block explodes. Matching rest density to the initial packing is the first thing to check in any weakly compressible SPH.
48,000 particles, no grid of velocities anywhere. Each one looks up its neighbours, works out how crowded it is, and pushes back. That alone turns a falling block into a wave. Particle SPH on the GPU, Unity URP. Watch 👇 ▸ The problem Liquid that splashes, folds over and settles is hard to fake with animation. A grid-based solver needs a velocity field over the whole volume. Smoothed particle hydrodynamics only needs the liquid itself: a cloud of particles, each carrying its own speed. ▸ How it works This is a port of the compute shader path in Gornhoth's Unity SPH repo. Six kernels per step: 1. Clear a uniform grid and drop every particle into its cell. 2. Build each particle's neighbour list from 8 nearby cells, keeping those within the kernel radius. 3. Density: sum a smooth bell-shaped kernel over the neighbours. Pressure = stiffness x (density - rest density). 4. Forces: the pressure gradient pushes particles from crowded to sparse areas; viscosity pulls each particle's velocity toward its neighbours'. Add gravity. 5. Integrate with forward Euler and clamp to the box, losing half the speed on each wall hit. No pressure solve and no grid of velocities: it is weakly compressible, and stiffness alone holds the volume. ▸ What I hit With the repo's scene values, my block did not behave like a liquid. Its rest density of 2 sits far below the density of its own starting lattice, so every particle began under huge pressure and the block blew apart to fill the tank. I set rest density to what the lattice measures, 8.1. Sparse particles got negative pressure and were yanked together. I clamp pressure at zero and add each particle's own share of the density. The repo starts every particle moving down at 50 units per second, faster than this fluid's pressure can respond. The landing packed hundreds of particles into one grid cell. I start them at rest. The grid cell was 4 x the particle radius. I use 2 x, the smallest the 8-cell search allows, so far fewer particles share a cell. ▸ My build Unity 6.3 URP, compute shaders from the repo with those marked changes, my own instanced sphere shader coloured by speed. 48,000 particles 0.5 apart, kernel radius 1, stiffness 2000, viscosity 0.25, time step 0.0008, 36 steps per video frame. Busiest cell: 141 particles (limit 256). With forces off, up to 592 pile into one cell and the repo marks them red. About 400 MB of GPU buffers per simulation, almost all of it neighbour lists. No frame times measured. ▸ Trade-offs Weakly compressible: the surface bobs and the liquid squashes a little under its own weight. A tiny time step, so many steps per frame. The neighbour lists reserve room for the worst case, which costs memory. Particles are drawn as spheres, not a smooth surface. ▸ When to use it Splashes, pours and small tanks of liquid where particles suit the look, or as the solver behind a surface renderer.
1
179