Menu

Post image 1
Post image 2
1 / 2
0

Three.js

DEV Community·Kartik Pareek·about 1 month ago
#UM7vz2I8
#types#camera#webdev#three#scene#light
Reading 0:00
15s threshold

Three.js & WebGL — Complete Notes 📁 For all code examples and projects, visit the GitHub Repository: Advance-Frontend by kartik-hub-enjay 🌐 What is WebGL? WebGL (Web Graphics Library) is a JavaScript API that allows you to render 3D and 2D graphics directly in a web browser without needing any plugins. WebGL lets you use your GPU (graphics card) to draw graphics on a webpage using the <canvas> element. 🔷 What is Three.js? Three.js is a JavaScript library that makes it easy to create 3D graphics in the browser using WebGL. Three.js = an easy layer on top of WebGL Instead of writing complex WebGL code, you use simple JavaScript to create 3D scenes. When working with Three.js, you always deal with these 3 things : Component Description Scene The world — everything exists here Camera What the user sees Renderer Displays the scene on screen Canvas A Canvas is an HTML element used to draw graphics (2D or 3D) directly on a web page using JavaScript.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More