# keijiro/StableFluids

A straightforward GPU implementation of Jos Stam's "Stable Fluids" on Unity.

Repository: https://github.com/keijiro/StableFluids
Canonical: https://ross.abutalabs.com/products/stablefluids
Language: C#
License: Unlicense
License Family: permissive
Topics: unity, unity3d, gpu, shader, compute, fluid-dynamics
Last push: 2025-08-28T05:01:10+00:00

## Health v2 (maintenance only)
Score: 50/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 39, release rhythm 35, longevity 100
- inputs: {"age_days": 2989, "days_push": 370, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1172, forks 99 (observed 2026-08-28T04:03:51.650938+00:00)

## What it is
A GPU-based Unity implementation of Jos Stam's Stable Fluids fluid simulation using compute shaders. It exposes the velocity field for rendering effects like the included marbling demo.

## Use cases
- real-time fluid simulation in Unity
- GPU-based smoke and ink effects
- marbling color advection effects
- learning GPU fluid dynamics
- interactive velocity field effects for games

## When to choose
- you need a simple, real-time fluid simulation in Unity
- you want a compact reference implementation of Stable Fluids on GPU
- you need a velocity field to drive visual effects

## When to avoid
- you need physically accurate CFD simulation
- you are not using Unity
- you need 3D volumetric fluids rather than 2D

## Facets
- artifact type: library
- maturity: active
- function: simulation, graphics, gpu-computing
- domain: simulation, graphics
- platform: game-engine, cross-platform
- tags: fluid-dynamics, compute-shader, jos-stam, real-time-simulation, urp, game-development, gpu

## Member repositories
- keijiro/StableFluids (main) score 50

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:51.650938+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:27.359570+00:00, confidence not recorded.
  - readme: https://github.com/keijiro/StableFluids (fetched 2026-08-28T04:03:51.650938+00:00, sha ba259058a2a5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
