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.
Simulating 20M Particles in JavaScript launched on July 8, 2024 with 561 votes, #58 of 5,184 launches that month and more than 99% of that year's launches. The site was still online in September 2026, 2 years on.
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
From the sources
The challenge, simulate 1,000,000 particles in plain javascript at 60 fps on a phone using only the cpu. Let’s go.
Does a similar job
all alternatives →
particles.js2014 · vincentgarreau.com · ▲113A lightweight JavaScript library for creating particles.
- A2A 2D Physics Simulator in JavaScript2017 · htmlpreview.github.io · ▲126
Simple 2D car physics with JavaScript2020 · pakastin.github.io · ▲308
1 KB JavaScript framework for building front-end applications2017 · github.com · ▲2161kB-ish JavaScript framework for building hypertext applications - hyperapp/hyperapp
288 Analog Clocks Give Digital Time2017 · clocks.80limit.com · ▲117JS/ReactJS simulation of A Million Times
Umbrella JS, a 2.5kb jQuery alternative2018 · umbrellajs.com · ▲132:umbrella: Lightweight javascript library for DOM manipulation and events
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 1d ago · permit.petercai.com
- IV
Life & fun · 13d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 14d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 8d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 12d ago · carrierexplode.com

Life & fun · 22d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, July 2024
the whole month →




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
