/three-3d-cube

— practice — Understand the principles behind Three.js including its architecture, core components, and how it interacts with WebGL. Interactive 3D experiences directly within a web browser

Primary LanguageJavaScript

ThreeJS with Vite Starter Pack

Prerequisites

Before you start, make sure you have Node.js installed on your machine: (https://nodejs.org/en/download/)

Installation

Once you've cloned or downloaded this project file to your local machine, navigate to this project directory in your terminal.

Run the following command to install the necessary dependencies:

npm install

Running the project

To start the development server, run the following command:

npm run dev

This will start the server and open your default browser to your localhost. The site will reload automatically as you make changes to your code.

a posititon is a prop of the mesh that position is a vector3 vector3 has 3 props xyz