Skip to content

MarcusH3/ThreeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Moon Sphere in Three.js

Screenshot 2024-02-06 at 12 29 20

Creating a moon sphere using Three.js, Vite and Javascript

https://threejs.org/docs/#manual/en/introduction/Creating-a-scene

My Skills

Functionallity

The Moon Sphere can be moved and rotated by pressing and holding the right mousebtn while hoovering over theMoon Shphere. When the Moon Sphere presents itself it will be still but can be automatically rotated by pressing the nav link rotate moon, while the lightning illuminating the Moon Shphere can be rotated by clicking rotate light.

Set it up

  1. Fork the repository: git clone https://github.com/MarcusH3/ThreeJS.git
  2. Install dependencies: npm install
  3. Open your favorite IDE and boot the development server by executing: npm run dev
  4. Open http://localhost:5173 via IDE or browser.

Enjoy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published