Рет қаралды 29,254
In this intro to 3D coding video, we go over how to set up a Three.js project. We start off by creating a React app with Vite JS. Then we install the Three.js npm library and set up a basic scene. Afterward, we add a box geometry to the scene and also set up Three JS orbit controls. Finally, we refactor the code into a class for readability. Setting up Three.js can help you get started in building 3D experiences for the Metaverse.
📖 Code - github.com/SuboptimalEng/thre...
🐦 Twitter - / suboptimaleng
💻 GitHub - github.com/SuboptimalEng
🌎 Website - suboptimaleng.com
== [ Resources ] ==
Three.js - threejs.org
Three.js Tutorials - sbcode.net/threejs
== [ Timestamps ] ==
00:00 Intro
00:36 Why use Vite.js + React?
02:00 Vite + React + Tailwind CSS
03:29 Three.js Setup Guide
06:04 Add Box Geometry to Scene
06:41 Orbit Controls + Stats
07:25 Refactor Code into Class
08:17 Github Repository
08:37 Outro
== [ Tags ] ==
#suboptimal #metaverse #threejs