# google/liquidfun

2D physics engine for games

Repository: https://github.com/google/liquidfun
Canonical: https://ross.abutalabs.com/products/liquidfun
Homepage: http://google.github.io/liquidfun
Language: C++
License Family: other
Archived: true
Last push: 2023-04-26T20:07:43+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4663, "days_push": 1225, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4901, forks 651 (observed 2026-08-28T04:09:02.117357+00:00)

## What it is
LiquidFun is a 2D physics engine for games, extending Box2D with particle-based fluid and soft body simulation on top of rigid body physics. It is a C++ library with bindings for Java and JavaScript, buildable for Android, iOS, Windows, macOS, Linux, and the browser.

## Use cases
- simulate water and fluid effects in a 2D game
- add soft body physics to a Box2D game
- make 2D game objects move and interact realistically
- run physics simulations in the browser via JavaScript
- create procedural animation of physical bodies in games

## When to choose
- you already use Box2D and need particle-based fluids or soft bodies
- you need a cross-platform 2D physics engine with C++, Java, or JavaScript bindings
- you want realistic liquid, elastic particle, or surface tension effects in a 2D game

## When to avoid
- you need 3D physics simulation
- you need actively developed software with recent feature work
- you need a full game engine rather than a physics library

## Facets
- artifact type: library
- maturity: maintenance
- function: game-engine, simulation, graphics
- domain: simulation, graphics
- platform: cpp, windows, wasm, cross-platform
- tags: box2d, fluid-simulation, particle-physics, soft-body, 2d-physics, game-development, android, ios, macos, linux

## Member repositories
- google/liquidfun (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:02.117357+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-29T18:18:08.667884+00:00, confidence not recorded.
  - readme: https://github.com/google/liquidfun (fetched 2026-08-28T04:09:02.117357+00:00, sha c7008eed77c0)
  - homepage: http://google.github.io/liquidfun (fetched 2026-08-29T09:00:15.980122+00:00, sha 2c6667d05a80)
- Data as of 2026-08-30T08:39:29.467469+00:00.
