dorkhub

galaxy_sim

This project is a simulation of thousands of particles that reproduce gravity to simulate galaxies. It uses ThreeJS for…

N0rvel
JavaScript15813 forksMITupdated 2 weeks ago
visit the demogit clone https://github.com/N0rvel/galaxy_sim.gitN0rvel/galaxy_sim

Galaxy Simulation with ThreeJS and Shaders

This project is a simulation of thousands of particles that reproduce gravity to simulate galaxies. It uses ThreeJS for 3D rendering and shaders to calculate the movement of particles in real-time.

Aperçu du projet

Demo

Live demo here: https://galaxym.ovh

Usage

  1. Start the development server: npm run dev
  2. Open your browser and navigate to http://127.0.0.1:5174/

Features

  • Simulation of thousands of particles that reproduce gravity to simulate galaxies

  • A menu to change the settings of the simulation (like the graphics settings, the number of particles, the interaction rate...)

  • A camera controled with the mouse and wheel to zoom-in/zoom-out

  • It can simulate an entire expanding universe : Aperçu du projet

  • It can simulate a unique galaxy : Aperçu du projet

  • It can simulate the collision between two galaxies : Aperçu du projet

more like this

lottery

🎉🌟✨🎈年会抽奖程序,基于 Express + Three.js的 3D 球体抽奖程序,奖品🧧🎁,文字,图片,抽奖规则均可配置,😜抽奖人员信息Excel一键导入😍,抽奖结果Excel导出😎,给你的抽奖活动带来全新酷炫体验🚀🚀🚀

JavaScript4.6k

search

search projects, people, and tags