Skip to content

FluidSim: library Fx2d + fixed-point tier (needs ESP32-S3 fps) #5418

Open

Description

@zackees

Follow-up from #5337. examples/FluidSim shipped in #5336, with smaller default grids for boards without PSRAM in #5354. These asks are still open:

  1. Library effect: move the solver into src/fl/fx/2d as an Fx2d, so sketches can use it without copying the example.
  2. Fixed-point tier: decide s16x16 vs s32x16 for the pressure solve, and whether to add vorticity confinement.
  3. Measurement: reach at least 20 fps for a 48×32 grid on an ESP32-S3. No S3 is on the bench right now, so this item is blocked on hardware.

Starting point: Stefan Petrick's comments on #5337 (2026-11-21), which include the working Stam paper link, the FastFluid C port and a list of optimisations.

This is a tracking issue. Work starts once an ESP32-S3 measurement is possible or the maintainer picks the library/fixed-point direction.

Activity

  1. added
    sanitized
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    sanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions