Creating a moon sphere using Three.js, Vite and Javascript
https://threejs.org/docs/#manual/en/introduction/Creating-a-scene
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.
- Fork the repository: git clone https://github.com/MarcusH3/ThreeJS.git
- Install dependencies: npm install
- Open your favorite IDE and boot the development server by executing: npm run dev
- Open http://localhost:5173 via IDE or browser.