nowfound

Life & fun · July 8, 2024

S2

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 →
  • particles.js2014 · ▲113

    A lightweight JavaScript library for creating particles.

  • OS
    Open source balloon simulation with Three.js2019 · alexanderperrin.com.au · ▲307
  • IV
    I'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.

  • A2
    A 2D Physics Simulator in JavaScript2017 · htmlpreview.github.io · ▲126
  • AS
    A 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.

  • BM
    Bubbles - my unfinished HTML5 Particle Game2012 · fullstackoptimization.com · ▲188

More life & fun this month

the category →

Launched alongside, July 2024

the whole month →
  • Sugar detox app

    AI · 2024 · apps.apple.com

  • Mobbin 2.01,657

    Discover real-world design inspiration

    Work · 2024 · mobbin.com

  • folk 3.01,591

    The CRM for companies who care about people

    Dev tools · 2024 · folk.app

  • SuperGPT1,206

    Use ChatGPT on Google Sheets

    AI · 2024 · superjoin.ai

  • 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

  • Motiff1,150

    AI powered professional UI design tool

    AI · 2024 · motiff.com