# Particle.js: N-Body Particle Physics Simulator (aka Miniverse Simulator)

**URL:** <https://discourse.threejs.org/t/particle-js-n-body-particle-physics-simulator-aka-miniverse-simulator/46044>\
**Category:** Showcase\
**Tags:** simulation, physics, particles\
**Created:** [December 20, 2022, 10:45pm UTC](https://discourse.threejs.org/t/particle-js-n-body-particle-physics-simulator-aka-miniverse-simulator/46044 "2022-12-20T22:45:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrenepomuceno](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/andrenepomuceno/32/26580_2.png) [@andrenepomuceno](https://discourse.threejs.org/u/andrenepomuceno)\
**Post date:** [December 20, 2022, 10:45pm UTC](https://discourse.threejs.org/t/particle-js-n-body-particle-physics-simulator-aka-miniverse-simulator/46044/1 "2022-12-20T22:45:56Z")

</div>

Hi friends!

I made a particle physics simulation tool with three.js, and the results are pretty cool!  
Check out the project page: [particle.js](https://andrenepomuceno.github.io/particle.js/)

Its a n-body particle simulation that uses GPGPU to compute the interactions. Its very feature rich too, with a sandbox mode and a lot of interaction.

Thank you folks, and enjoy!!

Home: [particle.js](https://andrenepomuceno.github.io/particle.js/)  
Youtube playlist: [https://youtube.com/playlist?list=PLr48cTU7J6cyvKp1v-1bpH4j5qCZbR-AV](https://youtube.com/playlist?list=PLr48cTU7J6cyvKp1v-1bpH4j5qCZbR-AV)  
Source code: [GitHub - andrenepomuceno/particle.js: A JavaScript 3D n-body particle simulator using a simplified model of Physics.](https://github.com/andrenepomuceno/particle.js)  
Photo Gallery: [https://photos.app.goo.gl/1x41ZhipNKr5yrYa7](https://photos.app.goo.gl/1x41ZhipNKr5yrYa7)

 ![electronProtonNeutron_2022_12_23T00_47_40.266Z](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/d/b/dbbff64fad21244610c997bd8dd9783691e3d065.jpeg)

---

<div class="post-metadata">

**Author:** ![andrenepomuceno](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/andrenepomuceno/32/26580_2.png) [@andrenepomuceno](https://discourse.threejs.org/u/andrenepomuceno)\
**Post date:** [December 21, 2022, 3:25am UTC](https://discourse.threejs.org/t/particle-js-n-body-particle-physics-simulator-aka-miniverse-simulator/46044/2 "2022-12-21T03:25:48Z")

</div>

Youtube playlist: [https://youtube.com/playlist?list=PLr48cTU7J6cyvKp1v-1bpH4j5qCZbR-AV](https://youtube.com/playlist?list=PLr48cTU7J6cyvKp1v-1bpH4j5qCZbR-AV)

---

<div class="post-metadata">

**Author:** ![andrenepomuceno](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/andrenepomuceno/32/26580_2.png) [@andrenepomuceno](https://discourse.threejs.org/u/andrenepomuceno)\
**Post date:** [December 22, 2022, 10:14pm UTC](https://discourse.threejs.org/t/particle-js-n-body-particle-physics-simulator-aka-miniverse-simulator/46044/3 "2022-12-22T22:14:28Z")

</div>

New updates today, friends!!

Major: now arrow fields and particles are rendered in 3D with raymarch!

Source code: [GitHub - andrenepomuceno/particle.js: A JavaScript 3D n-body particle simulator using a simplified model of Physics.](https://github.com/andrenepomuceno/particle.js)

---

<div class="post-metadata">

**Author:** ![andrenepomuceno](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/andrenepomuceno/32/26580_2.png) [@andrenepomuceno](https://discourse.threejs.org/u/andrenepomuceno)\
**Post date:** [December 29, 2022, 4:30am UTC](https://discourse.threejs.org/t/particle-js-n-body-particle-physics-simulator-aka-miniverse-simulator/46044/4 "2022-12-29T04:30:29Z")

</div>

Hey guys, more news today!!

Now the simulation is using real life constants, just scaled to become better to view.

See you and happy new year!!

---

<div class="post-metadata">

**Author:** ![andrenepomuceno](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/andrenepomuceno/32/26580_2.png) [@andrenepomuceno](https://discourse.threejs.org/u/andrenepomuceno)\
**Post date:** [January 2, 2023, 3:01pm UTC](https://discourse.threejs.org/t/particle-js-n-body-particle-physics-simulator-aka-miniverse-simulator/46044/5 "2023-01-02T15:01:20Z")

</div>

Photo Gallery: [https://photos.app.goo.gl/1x41ZhipNKr5yrYa7](https://photos.app.goo.gl/1x41ZhipNKr5yrYa7)
