482
369
+ 1
0

What is three.js?

It is a cross-browser JavaScript library and Application Programming Interface used to create and display animated 3D computer graphics in a web browser.
three.js is a tool in the Game Development category of a tech stack.
three.js is an open source tool with 82K GitHub stars and 31.7K GitHub forks. Here’s a link to three.js's open source repository on GitHub

Who uses three.js?

Companies
131 companies reportedly use three.js in their tech stacks, including Scale, Foretag, and Teespring.

Developers
282 developers on StackShare have stated that they use three.js.

three.js Integrations

Decisions about three.js

Here are some stack decisions, common use cases and reviews by companies and developers who chose three.js in their tech stack.

Shared insights
on
React VRReact VRthree.jsthree.jsReactReact

I am about to create a React application that should show a 3-dimensional space where you can click and move.

The goal is to make it accessible in the long run for VR. Important here is that it needs to be compatible with as many browsers as possible.

I am wondering which would be a reasonable way to build this? A-Frame seems very popular but does not seem to be a good choice together with React. So the question is whether to go with plain three.js or to use one of the three.js-based Frameworks, e.g., React VR or react-three-fibre?

I am new to VR. I am in the middle of an investigation and would appreciate the expertise of people who already gained experience in this field. I am happy to answer questions in detail if they are any. Thank you in advance.

See more
Shared insights
on
WebGLWebGLthree.jsthree.js

I want a advice on what to use as a beginner three.js or WebGL?

See more
Shared insights
on
BabylonJSBabylonJSthree.jsthree.jsUnityUnity

We already have an existing 3d interactive application for windows, mac, and iOS devices and have planned to move that app to the web for high availability to different types of users. I have been searching for different options for it. Our existing application is made in Unity so we prefer to work on unity webgl but it also has its drawbacks. Other than that we are also thinking to change the tech stack to three.js or BabylonJS due to their high compatibility with the web ecosystem. I want to know which engine/library/framework we should use for the development of our 3d web application. Also with unity webgl, we want to develop all UI parts in web technologies only and will use the unity3d for 3d part only.

Points that are very important to consider - 1. Memory optimization and allocation 2. Quality 3. Shaders 4. Materials 5. Lighting 6. Mesh editing, mesh creation at runtime 7. Ar 8. Vr 10. Support on different browsers including mobile browsers 11. Physics(gravity, collision, cloth simulation, etc.) 12. Initial load time 13. Speed and performance 14. Max vertices count. What happens when we load models exceeding max vertex count? 15. Development time 16. Learning curve (Unity3d we already working on) 17. Ease of use. What artists can do using any platform eg. in unity3d, artists can edit materials, set up lighting etc? 18. Future scope 19. Scalability 20. Integration with web ecosystem

See more

I want to build a web app with these features: - render a 3D object in the browser - when the user touches a part of the object I retrieve data or send API requesst to a database - get data in real-time from the backend and display it on the object - cache 3D object on the browser to avoid its loading (with cost)

I'm more a JavaScript developer with a passion for React and Node.js ecosystem, So I want to know for this kind of project it is better to build it with Next.js+three.js for frontend and Nodes.js + Express + Prisma + PostgreSQL Or build it directly with the API functionalities of Next.js? I thought having these two separate parts will be more scalable and easy to maintain.

Thanks.

See more

three.js Alternatives & Comparisons

What are some alternatives to three.js?
WebGL
It is integrated completely into all the web standards of the browser allowing GPU accelerated usage of physics and image processing and effects as part of the web page canvas. Its elements can be mixed with other HTML elements.
BabylonJS
A complete JavaScript framework for building 3D games with HTML5, WebGL, WebVR and Web Audio.
Unity
Unity is the ultimate game development platform. Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers.
D3.js
It is a JavaScript library for manipulating documents based on data. Emphasises on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework.
PlayCanvas
It is an open-source 3D game engine/interactive 3D application engine alongside a proprietary cloud-hosted creation platform that allows for simultaneous editing from multiple computers via a browser-based interface.
See all alternatives

three.js's Followers
369 developers follow three.js to keep up with related blogs and decisions.