Simulating 20M Particles in JavaScript
Had some fun with shared array buffers over many months of free time. Skip to the end to play around with the final app. Open to ideas on how to simulate more whilst staying in js land.
In plain words
This project demonstrates a particle simulation system built in JavaScript using shared array buffers to handle 20 million particles. It allows users to experiment with the interactive simulation and explore how to push performance limits while remaining within the JavaScript ecosystem. The creator developed it over several months as a technical exploration and welcomes suggestions for optimizing or expanding the simulation further.
written from the facts on this page · September 2026
Does the same job
all alternatives →
- OSOpen source balloon simulation with Three.js2019 · alexanderperrin.com.au · ▲307
- IVI've been making JavaScript sandbox alone for 6 years2022 · playcode.io · ▲397
Hi HN! Thanks for your attention to my post. It was a big challenge to run most of Node.js packages in browser, fast moreover. Virtual File system, resolve import/export. I got cold many times, depressions, burned out, yet still alive and finished it. Many guys helped me with an advice. Many users give a lot of positive feedback. There are 200,000 monthly unique users. I work full time now because of the freemium business model. To be honest - I am happy after many years of hard work.
- A2A 2D Physics Simulator in JavaScript2017 · htmlpreview.github.io · ▲126
- ASA simple 2D fluid and gravity simulation with WASM and WebGL2024 · aestuans.github.io · ▲137
The little particles will gravitate to your cursor (or touch location), and can even enter stable orbits if the conditions are right! Mainly an excuse for me to experiment with wasm and WebGL, but it makes for a surprisingly good fidget toy.
- BMBubbles - my unfinished HTML5 Particle Game2012 · fullstackoptimization.com · ▲188
More life & fun this month
the category →- TL
Life & fun · 10d ago · louisabraham.github.io



Photosynthesis fires two of your iPhone
Life & fun · 29d ago · photosynthesis.camera
- CCCreatium Coach▲320
Your multimedia mentor that takes you from mid to great
Life & fun · 11d ago · producthunt.creatium.info
SoloUno▲310Take control of hair pulling, nail biting & skin picking
Life & fun · 28d ago · solouno.io
Launched alongside, July 2024
the whole month →



- IC
Many years ago, I made VJ softwares (to mix live visuals in clubs) for unexpected platforms like the Game Boy Advance, the Playstation 2 and the Raspberry Pi. This year, I’m back with a new web-app: Pikimov. Inspired by Photopea (a free Photoshop clone), I created this web-based motion design & video editor as an alternative to After Effects, to fill empty void. It's free, without signup, without cloud uploads (your files stay on your machine), and your projects are not used for AI models training.
AI · 2024 · pikimov.com
