A cool galaxy simulation using THREE JS particles inspired by the galaxy(unanimated) made by Bruno Simon's THREE JS Journey Course. You can see the live demo at: https://galaxy-m1199.web.app
- Clone or download the repository
git clone https://github.com/the-halfbloodprince/GalaxyM1199.git
- Open the folder in your favourite editor.
- Install the dependencies using:
if you're using yarn:
yarn
if you're using npm:npm i
ornpm install
- Start the server using:
if you're using yarn:
yarn run dev
if you're using npm:npm run dev
You're default browser will pop up with the simulation running on a new tab.
Try customising and playing with the code to improve the looks and performance of the simulation.
You can try controlling the model without having to go into the code using the top-right dat.gui menu. It is closed by default, you can click on the button that says 'Close Controls' to open the controls. In case controls aren't working well, try another browser.