nowfound

Life & fun · July 8, 2024

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 4,704 launches that month and more than 99% of that year's launches. The site was still online in September 2026, 2 years on.

Visit dgerrells.com ↗Alternativestop 1% of July 2024

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 by AI from its launch page and website · 5 September 2026

Originality

50/100

Familiar idea. More original than 50% of products launched in 2024.

Similar products before it
10
in the archive on its launch day
See similar products ↓
Similar products since
1
launched after it
See similar products ↓

crowded fieldone of a kind

The score compares the words of this launch with every earlier launch in the archive: the fewer close matches on launch day, the higher the score. It says how new the idea was, not how good the product is. Similar products counted on November 30, 2026. See the similar products →This week’s most original launches →

Forecast

96%

chance that this product’s website is still online in November 2031. Typical launch of 2024 gets 87%.

1 year
99%
typical 96%
3 years
98%
typical 92%
5 years
96%
typical 87%
  • Simulating 20M Particles in JavaScript
  • Typical launch of 2024

Launch signals stronger than 99% of the archiveweakest → strongest

Made on November 29, 2026, when the site was online, from what was public on launch day. It is not revised, and it is graded when the site is checked again. How the forecast works and how often it is right →

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.

  • particles.js2014 · vincentgarreau.com · ▲113

    A lightweight JavaScript library for creating particles.

  • A2
    A 2D Physics Simulator in JavaScript2017 · htmlpreview.github.io · ▲126

    A 2D Physics Simulator in JavaScript is a web-based physics simulation tool that runs in the browser.

  • Million.js2021 · github.com · ▲153

    🦁 <1kb compiler-augmented virtual DOM. It's fast!

  • Pts.js2018 · ptsjs.org · ▲611

    Pts is a javascript library for visualization and creative-coding.

  • AS
    A simple 2D fluid and gravity simulation with2024 · aestuans.github.io · ▲137

    A browser-based particle simulation where tiny elements gravitate toward the user's cursor or touch point, potentially entering stable orbits around it.

  • Open source balloon simulation with Three.js2019 · alexanderperrin.com.au · ▲307

    Open source balloon simulation with Three.js is a web app for developers that visualizes balloon physics using Three.js, a JavaScript 3D library.

More life & fun this month

the category →

Is Simulating 20M Particles in JavaScript yours? Feature it on the home page: $19, or free with the badge →

Source: Show HN post ↗

Launched alongside, July 2024

the whole month →