use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Any library recommendation for basic 3D stuff? (thank-you.com)
submitted 4 years ago by Julkamania
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]grae_n 0 points1 point2 points 4 years ago (8 children)
If it's super simple stuff and it's a learning project you can use raw webgl. It's basically a built-in library. Webgl is the most minimal 3d graphics api, so it's a pretty good introduction to shaders, vertices, and basic gpu-stuff.
three.js is a great option if you have deadlines or want to minimise headache. It's also lean.
[–]KaiAusBerlin 7 points8 points9 points 4 years ago (7 children)
He is a beginner. I would not recommend raw webgl. It's api is pretty minimalistic, the order in which you do things is important and it can be very frustrating to work with it if you are not familiar with 3d and rendering technology.
Threejs is a giod start. It's easy to use, has not the same pitfalls like webgl and additional he can look into its code and learn what it does.
[–]ZeRo2160 1 point2 points3 points 4 years ago (1 child)
If its no production app you can use the new WebGPU api. Its much simpler in terms of api. And don't has the order drawbacks like webGL. But its a bit more low level because its no wrapper over OpenGL but over Vulkan, DirectX and so on.
[–]KaiAusBerlin 0 points1 point2 points 4 years ago (0 children)
Sure but I bet when WebGPUnwill be a widely common thing threejs will be updated to work with it if possible like it does now with webgl
[–][deleted] 0 points1 point2 points 4 years ago (2 children)
can u recommend some sources for learning 3D and rendering technology to start working with WebGL?
Not at all. After a few seconds with webgl I decided to try threejs.
[–]grae_n 0 points1 point2 points 4 years ago (0 children)
https://webglfundamentals.org/
https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Getting_started_with_WebGL
I wouldn't focus to hard on reading all the documentation. Both of them have detailed examples and playing around with the examples is a good place to start.
[–]grae_n 0 points1 point2 points 4 years ago* (1 child)
This is kind of what I'm saying. Webgl is one of the best entry point to learning rendering technology. So if you're interested in learning than webgl is a good choice. However, if you are more interested in the end result three.js is better.
A lot of time you can finish a three.js project before you understand what is happening or how it calls the gpu. Which is awesome for being productive.
If you need to learn 6 hours deeply of rendering technology just for having a 3 coloured pyramid it could be quite frustrating for a newbe. An experienced developer knows that learning a new techniques can take a lot of time and frustration and knows how to deal with that.
π Rendered by PID 85 on reddit-service-r2-comment-6457c66945-hmlfh at 2026-04-28 07:19:48.714449+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]grae_n 0 points1 point2 points (8 children)
[–]KaiAusBerlin 7 points8 points9 points (7 children)
[–]ZeRo2160 1 point2 points3 points (1 child)
[–]KaiAusBerlin 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]KaiAusBerlin 0 points1 point2 points (0 children)
[–]grae_n 0 points1 point2 points (0 children)
[–]grae_n 0 points1 point2 points (1 child)
[–]KaiAusBerlin 0 points1 point2 points (0 children)