Hacker GitHub

← All repos

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

Mentions per year 97 mentions · busiest year 2011 (12)
20082026
  1. …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...
  2. …three (not used in this example), but SSGI still looks kinda blurry. Work though is still going on: https://github.com/mrdoob/three.js/issues/31892
    comment by h4ch1 · 2026-03-25 · in Ball Pit
  3. …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
  4. conradev found likely the right version of the file here: https://github.com/mrdoob/three.js/blob/55b4bbb7ef7e29b214b9...
  5. 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.
  6. I believe it is MIT-licensed code from three.js: https://github.com/mrdoob/three.js/blob/55b4bbb7ef7e29b214b9...
  7. ▲ 2
    Visualizing data with 3D flowers in Vue and Three.js
    story by tsuyoshi_k · 2025-08-27 · 1 comment
  8. …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…
  9. ▲ 3
    Making the world better commit by commit
    story by ajdude · 2024-11-07 · 0 comments
  10. ▲ 160
    Three.js Shading Language
    story by bpierre · 2024-05-29 · 47 comments
  11. ▲ 1
    JavaScript 3D Library
    story by ustad · 2024-01-22 · 0 comments
  12. …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…
  13. …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
  14. …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
  15. …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
  16. 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/
  17. …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...
  18. …a rabbit hole to see if desynchronized canvas might improve rendering three.js scenes. TLDR: No https://github.com/mrdoob/three.js/issues/16684
  19. …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
  20. …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
  21. …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…
  22. ▲ 1
    List of demoscene productions using Three.js
    story by afkqs · 2020-06-22 · 0 comments
  23. …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…
  24. 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)
  25. …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
  26. I've always been impressed by the quality of Three.js - https://github.com/mrdoob/three.js/
  27. …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... ).
  28. Three.js already supports it: https://github.com/mrdoob/three.js/pull/16522
  29. Three.js supported already added: https://github.com/mrdoob/three.js/pull/16522
  30. 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
  31. …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
  32. 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…
  33. ▲ 2
    Three.js r94 released
    story by roschdal · 2018-06-29 · 0 comments
  34. 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
  35. This is essentially what three.js does with WebGL content. Using JSON; https://github.com/mrdoob/three.js/wiki/JSON-Geometry-format...
  36. …in three.js? There was some issue with not being able to shake through Object.defineProperty: https://github.com/mrdoob/three.js/issues/10711
  37. …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
  38. Shameless plug, the three.js fbx converter supports a number of formats including Collada: https://github.com/mrdoob/three.js/tree/dev/utils/converters...
  39. ▲ 2
    Three.js r86 released
    story by bpierre · 2017-06-21 · 0 comments
  40. …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?
  41. …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
  42. ▲ 2
    JavaScript 3D library
    story by febin · 2017-02-26 · 0 comments
  43. 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.
  44. …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
  45. 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
  46. …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
  47. …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…
  48. …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…
  49. …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…
  50. …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