Alternatives
Products that do what A simple 2D fluid and gravity simulation with WASM and WebGL does
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.
- 1AM
Hello HN! We’re a small creative studio specializing in real-time 3D experiences. Netlify approached us to design and build an interactive experience to celebrate reaching 5 million developers. Inspired by the classic game Marble Madness, we created a gamified experience where users control a ball through playful, interactive levels. The goal was to blend marketing content with the look and feel of a game to engage users. The app is built with Three.js [1], using our custom render pipeline and shaders, and uses Rapier for physics simulation [2]. The 2D content is overlaid on the WebGL view…
2024 · 5-million-devs.netlify.com
- 2WA
2021 · birchlabs.co.uk
- 3EW
2020 · exophysics.net
- 4S2
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.
2024 · dgerrells.com
- 5

- 6IP
I started teaching my daughter physics by showing her how things actually work - plucking guitar strings to explain vibration, mixing paints to understand light, dropping objects to see gravity in action. She learned so much faster through hands-on exploration than through books or videos. That's when I realized: what if I could recreate these physical experiments as interactive simulations? Lumen is the result - an interactive physics playground covering sound, light, motion, life, and mechanics. Each module lets you manipulate variables in real-time and see/hear the results…
Jan 2026 · projectlumen.app
- 72C
A pretty simple but fun to play with simulator for a concept from mathematical physics called the "2D Coulomb gas". I originally made this for my Bachelor's thesis to create pretty pictures and build intuition but have recently gotten it a fresh coat of paint and better performance curtesy of WebGPU acceleration (ported with liberal help from Codex to get through all of the boilerplate). Play around with it - hopefully read up more on the 2D Coulomb gas because it is an incredibly deep topic research wise.
Feb 2026 · simonhalvdansson.github.io
- 8A2
2017 · htmlpreview.github.io
- 9S2
2020 · pakastin.github.io
- 10IB
Mar 2026 · structuredlabs.github.io
- 11

- 12GI
Just for fun and self education, I've built this over a weekend to teach myself why orbits exist, not just show planets going around. Something that was never clearly explain to me in school. It opens with a guided tour that builds the idea up step by step: two bodies and the equal/opposite force, inertia (the Sun is removed and Earth just drifts straight), then "an orbit is falling and continuously missing," cosmic velocities with a little rocket, Voyager 1 & 2's real gravity assists (the clock runs the actual 1977–1989 dates so the planets orbit into their grand-tour alignment and the…
Jun 2026 · qunabu.github.io
- 13BB
Features include: - Several preset periodic orbits: the classic Figure-8, plus newly discovered 3D solutions from Li and Liao's recent database of 10,000+ orbits (https://arxiv.org/html/2508.08568v1) - Full 3D camera controls (rotate/pan/zoom) with body-following mode - Force and velocity vector visualization - Timeline scrubbing to explore the full orbital period The 3D presets are particularly interesting. Try "O₂(1.2)" or "Piano O₆(0.6)" from the Load Presets menu to see configurations where bodies weave in and out of the orbital plane. Most browser…
Nov 2025 · trisolarchaos.com
- 14OS
2019 · alexanderperrin.com.au
- 15WF
2014 · haxiomic.github.io
- 16BM
2012 · fullstackoptimization.com
- 17AI
Jan 2026 · github.com
- 18DK
2020 · github.com
- 19IA
Somewhat inspired by a recent post here, I also made a three-body simulation on a whim, meaning to try out macroquad[0] (verdict: really nice!). Thanks to the engine I could trivially target wasm as well, so others can get mesmerized too. The source is available here: https://github.com/sulami/three-bodies [0]: https://docs.rs/macroquad/latest/macroquad
2024 · three-bodies.sulami.xyz
- 20WP
This is a small particles simulation that can run either with WebGPU (GPU Compute) or with the CPU, and it can be changed in real time
2023 · github.com
- 21W1
2017 · img42.com
- 22CF
Hi! I'm Alan, and I built a website that turns images into flowing particle animations. This javascript / WebGL tool creates particle animations out of any image in real-time within the browser, with particles that dynamically respond to edge detection and flow fields. It uses Sobel edge detection, a Perlin noise flow field, and webGL / GLSL for better performance. The tool is completely free and open source (MIT license). Github repo: https://github.com/collidingScopes/particular-drift Let me know of any feedback or suggestions for improvement.
2025 · particular-drift.netlify.app
- 23HO
2018 · thehappykoala.github.io
- 24WP
This was my recent weekend project, aimed at teaching me JavaScript, a bit of HTML5, and (mostly) WebGL. The orbital data are from NASA JPL. I was inspired in part by this Flash app: http://www.dynamicdiagrams.com/wp-content/uploads/2011/04/orrery_2011_bce.swf, but wanted to do something in 3D. Coming from the games-dev world, this is my first introduction to web coding. The UI is jquery. I mostly used http://learningwebgl.com/blog for the 3D stuff. Being WebGL, it will work mostly on Chrome, Firefox 4 Beta. Forget about IE. I needed to figure out how to render text to the WebGL canvas - I…
2011 · solar-system-explorer.com
Ranked by how close each launch is in meaning, then by votes. Refine with a description →