Build Basic 3D Scenes with Three.js

bin
JavaScript in Plain English
7 min readJul 31, 2022

--

This is our first lesson to start using Three.js, and we review using it in the most classic way for web development, a <script> tag.

Prepare the base files

First, we create a index.html file

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

--

--