[AskJS] How could I implement realistic fluids simulations (SPH?) in my video game?

This page summarizes the projects mentioned and recommended in the original post on /r/javascript

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • SPHjs

    A 2D fluid simulation of water physics in pure Javascript.

  • LiquidFun

    2D physics engine for games

  • It should be possible to produce simulations like the ones they produced in JS: http://google.github.io/liquidfun/

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • box2d-wasm

    Box2D physics engine compiled to WebAssembly. Supports TypeScript and ES modules.

  • A couple weeks ago I ported liquidfun to TypeScript + WebAssembly: https://github.com/Birch-san/box2d-wasm/releases/tag/v4.0.0-liquidfun.0

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts