Latest / Learning & reference

Simulating 20M Particles in JavaScript

dgerrells.com · Web app · Online

Write-up and browser demo of a 20-million-particle simulation

Visit dgerrells.com ↗Share

Found
2 years ago

A blog post describing how the author used shared array buffers to simulate about 20 million particles in JavaScript, with the final app at the end of the post. The demo is the part to try, and the post explains the performance work behind it.

The challenge, simulate 1,000,000 particles in plain javascript at 60 fps on a phone using only the cpu. Let’s go.

How dgerrells.com describes itself

What it does

  • Simulates about 20 million particles in JavaScript
  • Uses shared array buffers for performance
  • Final browser app at the end of the post

Good for

  • Study how shared array buffers speed up JavaScript
  • Try the final particle simulation in the browser
  • Learn how to run a CPU-only simulation at scale

Suits: JavaScript developers interested in performance.

What you can try

Scroll to the end of the post and run the final demo in your browser.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Simulating 20M Particles in JavaScript on , when rustystump posted it to Show HN. There is no first-party release record KipFound is allowed to read for this product, so that listing is the earliest dated evidence on file. KipFound does not guess a release date.

Day-7 and day-30 updates

Day 7 still online

  • Product link responded normally (HTTP 200).
  • Show HN discussion at check time: 561 points, 70 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 still online

  • Product link responded normally (HTTP 200).
  • Show HN discussion at check time: 561 points, 70 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Found: rustystump posted it to Show HN. Show HN
  2. Day-7 check recorded by Kip (details)
  3. Day-30 check recorded by Kip (details)

Quick answers

When was Simulating 20M Particles in JavaScript released?
No dated release record is available. Kip found it on Show HN on 8 Jul 2024.
What does Simulating 20M Particles in JavaScript run on?
Web.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
Product link checkdgerrells.com

Stable ID hn-40902012. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Learning & reference

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.