Skip to content

ZenkieBear/learn-three

Repository files navigation

Learn Three.js

This project has some demo for Three.js.

Built with Vite, in Vanilla + Typescript model.

Getting Start

Prepare Node.js Environment

Ensure there's Node.js(18+) installed on your personal computer.

You can use NVM switch the version conveniently:

nvm use

Install dependencies

npm install

# You can choose your favorite package manager
yarn install

Start development server

yarn dev

Visit pages in your browser

Visit http://localhost:5173/pages/basic/ after started the development server. By adding the / character at the end, browser will automatically shows the index.html file.

You can find pages in ./src/pages

License

This project is licensed with MIT.