Three.js
JavaScript library for rendering 3D graphics in the browser with WebGL and WebGPU.
Liked for quickly building 3D web visuals and browser games,123 especially with LLM help,456 thanks to extensive documentation and examples.7 Complaints are rare, though one commenter called a browser-based Three.js project just a toy.8
Why people recommend it
LLM-friendly · 3
Commenters find LLMs produce decent Three.js code quickly, which suits fast prototyping.
“Three.js + OpenAI or Claude do almost everything for this purpose.”
Show 1 more
“It uses three.js and a browser so it's just a toy of course”
Web games · 3
Used to build browser games without setting up a Unity or Unreal scene.
“I have found out that it is very efficient to use phaser.js/three.js for fast, vibe coding”
“three.js for the 3D world”
Show 1 more
“I made a little train network sim in Three.js”
React integration · 3
Pairs well with React via react-three-fiber, and with Svelte via Threlte.
“Webgl, threejs, @react-three/{fiber/drei} provide another dimension and shaders are the gateway.”
“I use threejs and react three fiber (r3f).”
Show 1 more
“It sits on the shoulder of Svelte and Threlte (Three.js) for most of the hard stuff.”
Custom shaders · 3
Supports custom shaders and its own shading-language abstraction for advanced effects.
“I used ThreeJS's Three-Shading-Language abstraction to do it”
“For the 3D elements, I used Threejs and a custom vertex shader for the 3D plot.”
Show 1 more
“This is a standard three.js implementation with just some fancy shaders and loading primitives.”
Data visualization · 3
Used to visualize complex systems, database schemas and 3D plots.
“Three.js + OpenAI or Claude do almost everything for this purpose.”
“adding the Z-axis (via three.js)”
Show 1 more
“For the 3D elements, I used Threejs and a custom vertex shader for the 3D plot.”
Documentation · 1
Described as extremely well-documented, with an extensive examples page.
Caveats and dissent
Browser-bound · 1
One commenter called a browser-based Three.js project just a toy.
“It uses three.js and a browser so it's just a toy of course”
Not an engine · 1
One developer called their Three.js/React game stack cursed compared with a proper game engine.
Often compared with
Who recommends it in their own words
Threads where it came up
- Ask HN: What Are You Working On? (July 2026) 2 mentions
- Animations for System Builders 1 mention
- item 49964233 1 mention
- MicroLLM Lab – Try 7 tiny LLM's in the browser 1 mention
- Ask HN: What are you working on? (September 2026) 1 mention
- Mario Meets Pareto 1 mention
Also written as three.js. Data: three-js.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.
All comments 20
“Three.js + OpenAI or Claude do almost everything for this purpose.”
“Stackwise we selected Three.js, typescript and bun”
“I used ThreeJS's Three-Shading-Language abstraction to do it”
“scrolling animations built with Blender and three.js”
“For the 3D elements, I used Threejs and a custom vertex shader for the 3D plot.”
“using LDrawLoader [2] (from three.js)”
“The library is extremely well-documented.”
“three.js for the 3D world”
“we use three and react”
“This is a standard three.js implementation with just some fancy shaders and loading primitives.”
“I made a little train network sim in Three.js”
“The game's graphics and UI is a Three.js/React app”
“I use threejs and react three fiber (r3f).”
“It sits on the shoulder of Svelte and Threlte (Three.js) for most of the hard stuff.”
“I have found out that it is very efficient to use phaser.js/three.js for fast, vibe coding”
“Check out these Three.js demos I made”
“It uses three.js and a browser so it's just a toy of course”
“Webgl, threejs, @react-three/{fiber/drei} provide another dimension and shaders are the gateway.”
“adding the Z-axis (via three.js)”
“This really inspired me to check out three.js.”