Mike (@iodiot) header
Mike (@iodiot) profile picture

15+ yrs shipping frontend & real-time 3D for the web · TypeScript, Three.js, WebGPU · ex-Vimeo · co-founder @ Eneminds · BCN · ☕ https://xitter.cf/t.co/0U3yuavlaO

Barcelona, Spain
Joined July 2009
Photo by Mike (@iodiot)Photo by Mike (@iodiot)Photo by Mike (@iodiot)Photo by Mike (@iodiot)Photo by Mike (@iodiot)Photo by Mike (@iodiot)Photo by Mike (@iodiot)Photo by Mike (@iodiot)Photo by Mike (@iodiot)Photo by Mike (@iodiot)
Pinned Tweet
Brake discs on this M5 F10 glow from a small heat model: front/rear energy split, airflow, faster cooling in rain. The DCT is tuned to BMW's 0-100 km/h in 4.4 s, and the wipers clear only the glass they sweep. I drive an F10, so I rebuilt mine in three.js. iodiot.github.io/bmw-driver/
1
1
109
Barcelona at sunset already looks like a GTA loading screen. I only added the logo 🌴
🤖 Made with AI
25
Close-up of the rain. Beads collect on the paint and glass, gravity drains them slowly, and airflow drags them rearward as speed rises. The wipers are 650/450 mm blades fitted to the windshield mesh, and drops gradually refill the area they cleared.
30
Part 7 of my Three.js tutorial series is live: Faster Frames. How to find what's actually slowing your scene down and fix it: draw calls, instancing, reading the renderer stats, and keeping the frame budget in check. iodiot.github.io/3d-tutorial…
1
58
Three.js from Scratch, Part 6: Post-Processing and Bloom. Render targets, an EffectComposer chain with bloom, a custom lens shader (chromatic aberration, vignette) and FXAA/SMAA. Then the same chain rebuilt on WebGPU with TSL nodes, including selective bloom. Live demo inside. iodiot.github.io/3d-tutorial…
1
53
Your Three.js scene is slow. Before touching shaders, count your draw calls. A short thread from Part 7 of my tutorial 🧵
1
46
Static scene? Render on demand instead of every frame, and your laptop fan will thank you.
1
6
#screenshotsaturday A real-time ocean in the browser, simulated on the GPU every frame. Three FFT cascades (250 m, 37 m and 7 m patches) cover swell down to ripples of a few centimetres. Foam appears where the surface folds. Three.js WebGPU, FFT written in TSL compute shaders.
5
1
7
290
Live demo with Calm, Breeze and Storm presets (needs a WebGPU browser): iodiot.github.io/webgpu-ocea…, MIT licence: github.com/iodiot/webgpu-oce…
64
Real-time in the browser, no video render: 40,000 particles orbiting the mouse, simulated entirely on the GPU. The positions live in a storage buffer and a compute shader updates them every frame. The shader is written in JavaScript with TSL, running on WebGPU.
2
5
227
Three.js from Scratch, Part 5: WebGPU and TSL. Switch to WebGPURenderer with a WebGL 2 fallback, port GLSL shaders to TSL node materials, read the WGSL it generates, and run 40,000 particles with compute shaders. Live demo. Next: post-processing. iodiot.github.io/3d-tutorial…
1
4
121
Three.js from Scratch, Part 4: Your First Shaders. Write GLSL from the ground up with ShaderMaterial: uniforms and varyings, animated vertex waves, noise, a fresnel rim, and extending built-in lit materials with onBeforeCompile. Live ocean demo included. Next up: WebGPU and TSL. iodiot.github.io/3d-tutorial…
104
Three.js from Scratch, Part 3 is out 🧊 Load a glTF model, animate it, light it with an HDR environment, and get shadows right: acne, peter-panning and bias, explained with live demos. Next up: shaders, then WebGPU. iodiot.github.io/3d-tutorial… #threejs #WebGL #WebGPU
3
1
1
4
473