mrdoob/three.js
View on GitHub ↗ ★ 117,409 JavaScript
JavaScript 3D Library.
97 mentions on Hacker News by 79 people: 20 stories, 77 comments · first 2010-04-25 · latest 2026-09-03
20082026
-
…it is called ThreeJS Shading Language. This implementation makes of that to simplify development: https://github.com/mrdoob/three.js/wiki/Three.js-Shading-Lan...
comment by bhouston · 2026-09-03 · in Three-LLM: Three.js-based WebGPU LLM inference engine -
…the all the remaining modern GPU compression schemes to the web in a standardized manner. [1] https://github.com/mrdoob/three.js [2] https://mymachine.dmgmori.com/
comment by FrostKiwi · 2026-01-20 · in Basis Universal v2 -
conradev found likely the right version of the file here: https://github.com/mrdoob/three.js/blob/55b4bbb7ef7e29b214b9...
comment by gpm · 2025-12-02 · in Codex, Opus, Gemini try to build Counter Strike -
It's taken from a threejs example: https://github.com/mrdoob/three.js/blob/dev/examples/jsm/obj... Seems fine given the project is already using threejs and so will have to include license info for it already.
comment by landl0rd · 2025-12-02 · in Codex, Opus, Gemini try to build Counter Strike -
I believe it is MIT-licensed code from three.js: https://github.com/mrdoob/three.js/blob/55b4bbb7ef7e29b214b9...
comment by conradev · 2025-12-02 · in Codex, Opus, Gemini try to build Counter Strike -
…s://www.math.uwaterloo.ca/tsp/star/star10m_tour.html And as a result it's been broken since May 2022: https://github.com/mrdoob/three.js/releases/tag/r141 I downloaded the HTML file and replaced the link with a versioned one, and the…
comment by bscphil · 2025-04-28 · in Shortest-possible walking tour to 81,998 bars in South Korea -
…to control its state logic and do draws all in one go. You can find this helper in three.js here: https://github.com/mrdoob/three.js/blob/master/src/renderers... > Luckily, accessing an array is safe-guarded by an implicit clamp, so every…
comment by Jasper_ · 2023-07-17 · in WebGPU – All of the cores, none of the canvas -
…not where you would expect it. During the creation of Clara.io I created over 200 PRs to Three.js: https://github.com/mrdoob/three.js/pulls?q=is%3Apr+author%3A... Open sourcing it wholesale at this point is a challenge because parts of the…
comment by bhouston · 2022-12-02 · in Clara.io Shutting Down -
…just wanted to state that Ben Houston is/was one of the more prolific three.js contributors ( https://github.com/mrdoob/three.js/graphs/contributors ) and consistently pushed three.js in a better direction. Thank you!
comment by Benjamin_Dobell · 2022-12-02 · in Clara.io Shutting Down -
…and a number of other interesting libraries for calculation like satellite-js[^3]. [1]: https://github.com/mrdoob/three.js/ [2]: https://github.com/mkkellogg/Photons [3]: https://github.com/shashwatak/satellite-js
comment by runlevel1 · 2022-10-14 · in Low Earth Orbit Visualization -
Neat! I see it's done using three.js for 3d graphics and tween.js for animation. https://github.com/mrdoob/three.js/ https://github.com/tweenjs/tween.js/
comment by calibas · 2022-03-30 · in 100k Stars Chrome visualization experiment -
…and isn’t necessary to store to apply a 4x4 matrix. See for example applyMatrix4 in this file: https://github.com/mrdoob/three.js/blob/master/src/math/Vect...
comment by meheleventyone · 2022-01-03 · in An Algorithm for Passing Programming Interviews (2020) -
…a rabbit hole to see if desynchronized canvas might improve rendering three.js scenes. TLDR: No https://github.com/mrdoob/three.js/issues/16684
comment by kfarr · 2021-10-07 · in RenderingNG: An architecture that makes and keeps Chrome fast for the long term -
…And in the decades long view WebGL 1 / WebGL 2 / WebGPU is used behind the scenes. [1] example: https://github.com/mrdoob/three.js/pull/21777
comment by fulafel · 2021-09-27 · in Designing Low Upkeep Software -
…one of the most popular JS libraries, has the explicit policy of ignoring backward compatibility. https://github.com/mrdoob/three.js/wiki/Migration-Guide I find it not only irresponsible but arguably mean to other devs time and lives but…
comment by gfxgirl · 2021-09-26 · in Designing Low Upkeep Software -
…tps://github.com/gatsbyjs/gatsby│JavaScript│67│0│3873│3│83.3│2│2181│2526│1.9│1182047│0.88256 three.js│https://github.com/mrdoob/three.js│JavaScript│130│0│1694│8│64.3│12│606│801│3.1│22919│0.87813 bootstrap│https://github.com/twbs/bootstrap│J…
comment by tmsh · 2020-12-12 · in Finding Critical Open Source Projects -
…change your Makefile to use a shallow clone: ``` github/three: mkdir -p github git clone --depth 1 https://github.com/mrdoob/three.js.git github/three -b r108 cd github/three && git checkout r108 ``` This would save a couple of gigs and…
comment by githubr1 · 2020-02-15 · in ESbuild – A fast JavaScript bundler and minifier in Go -
Three.js implements their math this way. https://github.com/mrdoob/three.js/blob/master/src/math/Vect... You can see most operations act on the Vector and there are some shared temporary variables that have been preallocated. If you look…
comment by meheleventyone · 2019-09-22 · in Why I Write Games in C (yes, C) -
…will likely have to be rewritten from scratch in order to take full advantage of it." [0] [0] https://github.com/mrdoob/three.js/issues/15936#issuecomment...
comment by xigency · 2019-09-13 · in WebGPU and WSL in Safari -
I've always been impressed by the quality of Three.js - https://github.com/mrdoob/three.js/
comment by vecplane · 2019-07-29 · in Ask HN: What are the “best” codebases that you've encountered? -
…and just want to render basic shapes. Drawing a textured cube is relatively straight forward ( https://github.com/mrdoob/three.js/blob/master/examples/webg... ).
comment by Impossible · 2019-05-29 · in Zdog – Pseudo-3D JavaScript engine for Canvas and SVG -
Three.js already supports it: https://github.com/mrdoob/three.js/pull/16522
comment by markdog12 · 2019-05-23 · in Google and Binomial Open-Source Basis Universal Texture Format -
Three.js supported already added: https://github.com/mrdoob/three.js/pull/16522
comment by markdog12 · 2019-05-22 · in Google and Binomial Open Source Basis Universal Texture Format -
That's what I thought - @types/three *.d.ts got imported via a script in this PR: https://github.com/mrdoob/three.js/pull/15597 There's some discussion in there, but the way I read the conclusion was they were going to be bundle the…
comment by delhanty · 2019-05-18 · in Three.js Fundamentals -
…3d universes (whoah!), have you considered chucking together Three.js's JSON scene description ( https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-fo... ) with https://github.com/automerge/automerge , a CRDT for JSON? What could…
comment by juretriglav · 2019-05-07 · in Open source collaborative text editors -
I googled that, looks like an issue in FF: https://github.com/mrdoob/three.js/issues/9716 Basically i just channel through regular three without creating much of a dependency. If it doesn't work in react-three-fiber, then i doesn't work in…
comment by mlsarecmg · 2019-03-12 · in Show HN: Mixing WebGL and HTML, Both Rendered Out in React -
Very nice. I see my code it in. :) The Three.JS version is 71 which is +3 years old: https://github.com/mrdoob/three.js/releases?after=r72 I guess this UI was released ~3 years ago?
comment by bhouston · 2018-06-19 · in Star Citizen's ARK Starmap -
This is essentially what three.js does with WebGL content. Using JSON; https://github.com/mrdoob/three.js/wiki/JSON-Geometry-format...
comment by satori99 · 2018-04-07 · in Multi-user VR experiences with A-Frame (2017) -
…in three.js? There was some issue with not being able to shake through Object.defineProperty: https://github.com/mrdoob/three.js/issues/10711
comment by zawerf · 2018-02-08 · in Rollup now has code-splitting and we need your help -
…that I just fixed. It should work now, unless you encounter the bug that has been discussed here: https://github.com/mrdoob/three.js/issues/9716
comment by sniklaus · 2017-12-16 · in WebAssembly Raytracer -
Shameless plug, the three.js fbx converter supports a number of formats including Collada: https://github.com/mrdoob/three.js/tree/dev/utils/converters...
comment by zfedoran · 2017-11-01 · in Poly – Browse, Discover and Download 3D Objects -
…understanding how the authors got there. One source code I look into from time to time is Three.js: https://github.com/mrdoob/three.js/ to discover more details over the documentation.
comment by kowdermeister · 2017-06-05 · in Ask HN: What code samples should programmers read? -
…compatible with webgl 1 Yes. > 2- will three.js be able to easily update to this version ? https://github.com/mrdoob/three.js/issues/9965
comment by roschdal · 2017-03-17 · in Faster 3D rendering with WebGL 2.0 -
Three.JS has support for pretty flexible "animation clip" blending via "animation actions" btw... https://github.com/mrdoob/three.js/blob/dev/src/animation And you can export out animation clips from blender.
comment by bhouston · 2017-01-13 · in Show HN: Skeletal Animation System – a WebGL animation blender -
…thinking of scenes and the objects within them, rather than GPU buffers and what to put in them. https://github.com/mrdoob/three.js/
comment by satori99 · 2017-01-02 · in Three.js editor -
Ok. Found it, https://github.com/mrdoob/three.js/tree/master/editor doesn't say, but https://github.com/mrdoob/three.js/ says MIT
comment by dispose13432 · 2017-01-02 · in Three.js editor -
…history page for the editor/ directory and it looks like a steady and active stream of development: https://github.com/mrdoob/three.js/commits/dev/editor/js
comment by zurn · 2017-01-02 · in Three.js editor -
…that differed based on whether it was a Linux or a Windows Intel driver -- specifically this one: https://github.com/mrdoob/three.js/issues/10331 Linux Intel didn't reproduce, but Windows Intel did. Windows Intel acted like Adreno GPUs but…
comment by bhouston · 2016-12-21 · in GPU folks: we need to talk about control flow -
…a bug on Nexus 5 that was never fixed - struct constructors in WebGL glsl were completely broken: https://github.com/mrdoob/three.js/pull/7556 Also some other code that seemed completely valid failed on Nexus 5 devices - so we had to…
comment by bhouston · 2016-12-21 · in GPU folks: we need to talk about control flow -
…but people still use them for these use cases all the time. The most well known WebGL library is https://github.com/mrdoob/three.js/ Which has been used for many examples like this http://armsglobe.chromeexperiments.com/ But you could look…
comment by tylerlarson · 2016-09-16 · in Show HN: GraphicsJS, New Powerful Free Open-Source JavaScript Graphics Library -
…to the specific file you want to import and include `.js` on the end, for example this won't work: https://github.com/mrdoob/three.js/blob/dev/src/materials/Ma... in script[type=module]. So there will still need to be a refactor of…
comment by MatthewPhillips · 2016-07-23 · in PR converts the Three.js codebase to ES2015 modules -
I wonder what justifies turning normal code into a string to eval(): https://github.com/mrdoob/three.js/pull/9310/files#diff-2ac7... becomes https://github.com/mrdoob/three.js/pull/9310/files#diff-ff6e... On the surface it seems bad.
comment by superswordfish · 2016-07-23 · in PR converts the Three.js codebase to ES2015 modules -
…or less the preferred way to handle Blender->JSON->Three.js (at least for static meshes) now. [1] https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-fo... [2] https://github.com/mrdoob/three.js/tree/dev/utils/exporters/... [3]…
comment by satori99 · 2015-07-27 · in Importing a Modeled Mesh from Blender to Three.js -
three.js removed support for quads to reduce renderer complexity. https://github.com/mrdoob/three.js/blob/master/src/core/Face... https://github.com/mrdoob/three.js/blob/88092284cbe07723fe2b... And the relevant issue:…
comment by razh · 2014-08-29 · in Zynga’s first foray into WebGL, and how it runs on IE10 -
…the Zynga post described? From the source code, it seems to just draw the triangles individually: https://github.com/mrdoob/three.js/blob/1769fbfc6c994b51a54c... I also don't see any heuristic processing of shaders as described for ZyGL.
comment by mbrubeck · 2014-08-29 · in Zynga’s first foray into WebGL, and how it runs on IE10 -
…with Three.js (like I was a minute ago), it's evidently a JavaScript library for 3D graphics: https://github.com/mrdoob/three.js/
comment by aaronbrethorst · 2014-07-27 · in Show HN: T3 – Template to build Three.js applications -
…model made for Quake II multiplayer, and it is used by some players today. Readme for the model: https://github.com/mrdoob/three.js/blob/master/examples/mode... The weapon models are actually the stock Quake II models/textures except in…
comment by Jehar · 2014-05-06 · in Scary Monster For Your Next FPS Game in Three.js -
…it should use WebGL or Canvas for rendering. But then again, you'd be betting on THREE.js :) https://github.com/mrdoob/three.js/
comment by nairteashop · 2014-02-19 · in WebGL Water -
…not the model.) Y'all basically figured it out. Three.js atop WebGL, and here's the Collada loader: https://github.com/mrdoob/three.js/wiki/Using-SketchUp-Model... A small thing, but hugely gratifying that kalleboo found the recommended…
comment by tophtucker · 2014-02-18 · in How Airbus is debugging the A350