◀ VibeCruiser

wasm particle vortex

A free particle demo — play it in your browser, no install. 500,000 particles in a toroidal vortex — all physics in an 8 KB hand-written WebAssembly module, rendered as WebGL2 point sprites. Single HTML file, zero dependencies.

by @nwfella · nwfella/wasm-particle-vortex on GitHubLANG WebAssemblyHOSTED ON NWFELLA.GITHUB.IOUPDATED 8 Nov 2026

Made this, @nwfella? See how many people played it → or use email

Controls: drag / wheel: orbit / zoom · move the pointer: repulsive force at the cursor

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

A real-time particle system where every per-frame calculation happens inside a hand-written WebAssembly module**: the vortex flow field, tube confinement, curl-noise turbulence, mouse repulsion, a uniform-grid counting sort (spatial hash) with a per-cell force field, and the integration. JavaScript only uploads one position buffer to WebGL2 and draws it as 500,000 additive point sprites.

The field. A torus of major radius R = 1 and tube radius A = 0.44. At a

toroidal — azimuthal, direction (−z, 0, x)/r, magnitude falling off with (rho²+y²)/A².

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →