
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
- Tweets392
- Following28
- Followers508
- Likes1.1K
Pinned Tweet
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.
Raymarched clouds are mostly a density budget: big steps through the volume, a few short samples toward the light at each hit for self-shadowing, and Beer's law turns that into soft falloff. Pairing it with a Monument Valley-style world is a lovely mix of two very different tricks.
Codevember 2026 / 26 / Anamorph
akella.github.io/codevember-…
Raymarched volumetric clouds, and a little version of myself walking through a Monument Valley-inspired world.
#threejs + raymarching
11
Taking a "who'll make this in realtime" challenge with WebGPU and TSL is the right call. The same node graph compiles to WGSL on WebGPU and to GLSL on the WebGL fallback, so an organic shader like this doesn't need a second rewrite to reach older devices.
super inspiring. not remotely close to this opus, but it's a mesmerizing target to chase. #threejs #webgpu + TSL
sketch.async.systems/2612050…
35
dFdx sitting one step below the integral feels right. It's the one that looks like magic: the GPU shades pixels in 2×2 quads, so each fragment can read how a value changes next door. That's how fwidth() gives you crisp anti-aliased SDF edges with zero extra samples.
31
Baking radiosity per vertex at load time is a sweet trade-off. A BVH makes the thousands of visibility rays per vertex cheap enough to run in the browser, and once it's done the lighting is just a vertex color, so it costs nothing at runtime.
More beautiful lighting powered by three-mesh-bvh! Someday we'll get this running more turn-key with the pathtracer infrastructure.
37
Visual SLAM fully in the browser, no install: Rust compiled to WebAssembly tracks your phone camera live, and the map comes out as a Gaussian splat you can orbit on desktop. Not long ago this meant a native app or a server doing the heavy lifting.
Visual SLAM: a camera figures out where it is while building a 3D map of its surroundings.
Now it runs in your browser. No install.
- Phone: open the link and it tracks you live with your own camera
- PC: orbit the map as a 3D Gaussian Splat
All Rust, compiled to WebAssembly.
49
Around 215×215 particles in this cloth, so ~46k points, each tied to its neighbours by distance constraints. Verlet plus a few relaxation passes per frame is the classic recipe, and Veil shows how far that simple loop scales before you need anything fancier.
38
One cell id can do double duty in a shader like this: it picks each tile's fractal pattern and also drives how far that tile lifts near the cursor. Hash it, offset along the normal, and the gaps let an emissive core underneath bleed through. All in a single fragment pass.
An alien core artifact, a sort of cyber glowstone in a #glsl fragment shader. The surface is textured by a procedural fractal. Use the cursor to destabilize it, lifting tiles and revealing the glowing core leaking out.
1
145
React-three-fiber retweeted
Technical breakdown of #codevember Day 1: Fold
All open sourced, links below.
@threejs
Your coding agent can write a three.js scene, a React hook or a sync engine faster than you can review it. TanStack Oracles is an early attempt at the missing half: letting the agent prove the code still behaves the way you decided it should.
What happened
TanStack released Oracles as an alpha preview on Dec 3. It's a JavaScript/TypeScript verification framework built for coding agents. You state a rule about how your software should behave (they call it a "law"), and the agent builds checks that throw generated inputs and long sequences of operations at the real implementation, then compares the results with a small independent model.
Under the hood it blends four ideas that usually live apart:
- property-based testing (random inputs, one rule)
- model-based testing (a simple reference that computes the expected answer)
- fuzzing (weird sequences you'd never write by hand)
- mutation testing (inject deliberate faults to see if the checks even notice)
Why it matters
The announcement post by Kyle Mathews frames the problem well: agents make implementation cheap, so verification becomes the bottleneck. Line-by-line review doesn't scale to the volume of code an agent can produce. Oracles grew out of getting TanStack DB to 1.0 RC1, and Mathews says he has run it on more than 100 repositories, including popular npm packages, and found bugs in every one. That's his claim, not an independent benchmark, but the underlying techniques are well established.
His example is very "frontend": in his scrolling-header library, the rule was "the wrapper must track the header's height, even as its contents change." Generated sequences found a case where the header grew but the wrapper kept reserving the old height, so the header covered the content below.
What it means for web, React and 3D devs
Interactive UIs and real-time scenes are full of state that changes in sequences, which is exactly where example-based tests miss things. Laws you could write for your own projects:
- An InstancedMesh count always matches the length of your data array after any add/remove/reorder
- Selection state never points at an object that was removed from the scene
- Orbit/camera limits hold after any mix of zoom, pan and resize
- A "top 10" list stays correct under inserts, deletes and ties (their TanStack DB example)
The model side can be dumb on purpose. Plain TypeScript sketch of the idea (not the Oracles API):
const model = new Map() // reference: just a Map
apply(ops, model); apply(ops, real)
assert(sameIds(model, real.visible()))
Practical takeaways
- Start with one function or one annoying interaction, not the whole repo
- Write the rule in plain language first; if you can't, that's a design question, not a test problem
- Keep the oracle next to your tests, or port findings into your existing suite as regression tests
- Use mutation checks to confirm your checks catch real faults, so a green run means something
- Treat it as alpha: great for exploring, too early to gate releases on
The bigger shift: your job moves from reviewing every diff to writing down what "correct" means, so agents can check against it.
What's the first law you'd write for your app or scene?
Sources:
- TanStack Blog, Introducing TanStack Oracles: tanstack.com/blog/introducin…
- TanStack Oracles docs: tanstack.com/oracles/latest
- Oracles overview: tanstack.com/oracles/latest/…
- GitHub, TanStack/oracles: github.com/tanstack/oracles
- TanStack on X: www.nitter.cf/tan_stack/status/21285…
Introducing TanStack Oracles 🔮
An early preview of a framework for defining how software should behave and testing real implementations against those requirements.
It helps coding agents find bugs and strengthen the checks as they learn more about your code.
Try it: tanstack.com/blog/introducin…
2
226
Keeping every camera frame on the GPU is the real win here. The hand-tracking model reads the video texture straight from WebGPU, so there's no readback to the CPU and upload again each frame, and that round trip is usually what makes webcam input feel laggy in the browser.
some of you might feel nostalgic about this! recreated a fruit slicing game on the web, but instead of swiping i point my finger at the camera
typegpu/kit for the 3d (shapes, light)
runntime for hand tracking inference on webgpu
all video frames stay on the GPU, with no CPU trips 👇
1
3
292
Assuming the reflector is flat turns SSR from a ray march into one closed-form hit per pixel: mirror the view ray, intersect the plane, sample the screen once. That's where the cheap comes from. Curved panels break the assumption, so a few extra steps only there is a smart trade.
I've added cheap screen-space reflections to my #threejs advanced techniques.
No raymarching: it pretends the surface is flat and calculates the hit directly. The curved car takes a few more tries, but it looks amazing!
Link 👇
three-advanced-techniques.co…
36
R3F tip: hundreds of static props (rocks, fences, crates)? three.js still recomposes each one's local matrix every frame by default.
<mesh
matrixAutoUpdate={false}
position={[2, 0, 1]}
onUpdate={(s) => s.updateMatrix()}
/>
Compute it once when props change, then skip it.
1
56
362 KB for a forest with 5 million triangles on screen is the whole case for procedural: you ship the rules, not the meshes. Trees grown from a seed on load and then instanced cost almost nothing over the wire, and seasons become a parameter swap instead of more asset packs.
Codevember 2026 / 24 / Nest
akella.github.io/codevember-…
Procedural forest, 362Kb download size, 5 million triangles on screen 👀. Also autumn and winter versions.
#threejs
1
115
Domain warping is the usual secret behind organic procedural textures: feed noise into the coordinates of more noise, and flat fBm starts to look grown instead of generated. Nice to see a portfolio shader broken down layer by layer in TSL, with a live demo to poke at.
We made our first tutorial on @codrops! 🌐
"Building a Procedural & Organic Texture Shader with Three.js and TSL"
We broke down how our portfolio shader works, layer by layer. Play with the live demo and show us what you make! 🌀
1
2
244
A pendulum is the classic case where plain Euler integration slowly gains energy until the swing blows up. Semi-implicit Euler or Verlet keeps the arc stable for free, which is exactly what you want once people start yanking it around. Nice Day 18.
Day 18, Pendulum.
It has physics if you wanna be aggressive.
Made with @threejs
#threejs #webgl #codevember
An agent can now model a part, export a GLB and hand it straight to your three.js scene in milliseconds, without installing Blender. That's the pitch behind Forma, and it changes what "AI-generated 3D" can look like in a web pipeline.
What happened
Forma is a new open-source (MIT) headless 3D modeling engine written in pure Rust and built specifically for AI agents. Its author describes it as a rewrite of headless Blender's modeling workflow, not a full Blender replacement: no animation, no sculpting.
What it ships, per the repo README:
- A small declarative language ("Forma-Pipe") where you chain ops like box | bevel | shell | cut, with semantic selectors such as top_rim or sides instead of vertex indices
- Manifold CSG booleans, bevels, subdivision, loft, sweep, threads and text
- Export to GLB (glTF 2.0, Y-up, PBR materials, UVs), plus OBJ, STL, 3MF and STEP
- A CPU-only 4-view PNG preview renderer, so an agent can look at its own result
- A CLI, an MCP server with just 4 tools, and an npm package (forma-3d) that wraps a WASM build
The author's own benchmarks claim a 16.9 ms cold start plus GLB export versus about 1.3 s for headless Blender 5.3, a ~1.7 MB binary versus a 953 MB install, and 3.49x fewer completion tokens on average across 12 models (up to 15.5x). Those are vendor numbers on six tasks, so treat them as a starting point, not a verdict.
Why it matters
Most "agent makes 3D" demos today drive Blender through Python scripts. That works, but it's heavy: a big install, slow cold starts, and scripts that break on fragile vertex indices. Forma bets on the opposite: a tiny, declarative format a model can write reliably, validated at every step, with a cheap preview loop.
What it means for web and 3D devs
- The output is a GLB, so it drops into the same path you already use: GLTFLoader in three.js, or your usual loader in a React scene
- The WASM build has no Node-specific imports, and the README shows it running in Cloudflare Workers and in the browser. That opens the door to generating geometry on the edge or client-side from a text prompt
- Units are explicit (units("mm")), and GLB is scaled to metres, which matters if you mix generated props with scanned or hand-made assets
- It targets hard-surface, "parametric" shapes: enclosures, fixtures, nuts, bowls, product parts. Characters and organic models are still a job for real DCC tools
A taste of the syntax (from the README):
flange = box(4, 2, 0.4)
| cut(cyl(0.5, 1))
Practical takeaways
- Try it as a prop generator: let an agent write Forma-Pipe, export GLB, then run your normal glTF optimization (meshopt or Draco, texture compression) before shipping
- Keep a human check in the loop. The preview renderer helps the agent, but a quick look in your actual scene still catches scale and material issues
- Watch file size and draw calls: booleans and subdivision can quietly inflate triangle counts, and Forma includes a decimate op for that
- Benchmark on your own shapes before trusting the token and speed claims
The bigger trend: agents get better at 3D when the tool speaks a small, strict language instead of a giant scripting API. That's good news for anyone building configurators, procedural levels or product viewers on the web.
Would you let an agent generate props for a production three.js scene, or keep it to prototypes for now?
Sources:
- Forma repository (README and benchmarks): github.com/wrong-nebula/form…
- forma-3d on npm: npmjs.com/package/forma-3d
- Launch post by @WrongNebula: www.nitter.cf/WrongNebula/status/212…
Blink and your model is already done 💥
I rewrote Blender to 1.1mb in Rust (800x smaller)
77x faster, 100x lighter (ram), saves up to 15.5x tokens
Made by agents, for agents
Open source, skill.md included!
github.com/wrong-nebula/form…
Readers added context they thought people might want to know
Forma is not a rewrite of Blender but a new lightweight pure-Rust 3D modeling engine for AI agents implementing only procedural modeling. Blender is a full open-source 3D creation suite for modeling, animation, rendering and film production.
github.com/wrong-nebula/f…
blender.org
x.com/WrongNebula/st…
1
5
398
A walkable portal is mostly a stencil trick: draw the second world only where the portal mesh writes to the stencil buffer, and move its camera by the portal's relative transform. Two full worlds at 60 fps on WebGPU from a 2D-first engine is a fun signal for PixiJS 3D.
How far can PixiJS 3D go? 👀
Two full worlds, with a real portal you can walk through
All running at 60 fps in the browser on WebGPU
Built with Opus, @fal and @greensock's GSAP
PixiJS 3D Portal Demo
Real-time PixiJS 3D render of a walk-through portal between a golden meadow and the same meadow at night, running in the browser.
4
191
Procedural banknotes are a great shader exercise. Engraving like this is usually thin sine bands warped by a noise field, and a holographic strip is a hue shift driven by the angle between normal and view direction. Doing all that while morphing plane to sphere is slick.
Exploring some cool motion, morphing a plane of banknotes into a sphere 💸 The banknote design is all procedural, engraved glass with a holographic strip in a #glsl fragment shader.
All it's missing is "press △ to collect", still too much GTA VI lately
1
84
Steady 60 fps on iOS with a full three.js car scene usually comes down to two knobs: capping DPR around 1.5-2 instead of the native 3, and keeping draw calls low enough that the CPU stops being the bottleneck. 120+ on the lowest preset says the headroom is real.
ok three.js mobile graphics engine is done - steady 60 fps without ios screen recording, and i guess 120+ fps on the lowest settings lol. meta and story next 🏎️
27
















