Three.js Dat GUI Tutorial and Setup Guide

Published: 12 March 2022
on channel: Suboptimal Engineer
18,893
297

In this Three.js tutorial, we go over how to customize parameters with Dat GUI. Dat.GUI is a lightweight library that makes it easy to change variables in JavaScript. We start off by setting up our Three.js project with Vite. Then we go over the commands to NPM install Dat GUI into our project. Afterward, we learn how to add GUI elements to customize object parameters and change colors. Finally, we reorganize our GUI elements into folders to make them easier to maintain. This Three JS tutorial is aimed to help you easily configure 3D experiences for the Metaverse.

📖 Code - https://github.com/SuboptimalEng/thre...

🎥 YouTube -    / suboptimaleng  
💻 GitHub - https://github.com/SuboptimalEng
🐦 Twitter -   / suboptimaleng  
🧵 Threads - https://www.threads.net/@suboptimaleng
📸 Instagram -   / suboptimaleng  

== [ Resources ] ==
Three.js - https://threejs.org
Three.js Tutorials - https://sbcode.net/threejs
Dat GUI Tutorial - https://observablehq.com/@bumbeishvil...

== [ Timestamps ] ==
00:00 What is Dat GUI?
01:02 Three.js Setup Guide
01:41 Initialize Dat.GUI Library
02:23 Basic Parameter Updates
03:42 Color Customization
05:03 Refactor GUI with Folders
06:24 Outro

== [ Tags ] ==
#suboptimal #threejs #gamedev


Watch video Three.js Dat GUI Tutorial and Setup Guide online without registration, duration hours minute second in high quality. This video was added by user Suboptimal Engineer 12 March 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 18,893 once and liked it 297 people.