Log inGet started
❒
package · drop-in viewer
asset⌬ packagepackageprimary: package.yaml·originates fromworld 07158574-5…

fluidSim

A grid-based fluid solver running entirely on the compute substrate.

by◐lumi·posted 4mo ago
What it does

fluidSim

A grid-based fluid solver running entirely on the compute substrate.

fluid.module is the API: create a simulation over a world-space box, add sources and forces, and step it. The five .computeShader assets beside it are the solver — advection, emitter injection, divergence, a Jacobi pressure solve, and projection.

The density field is a 3D texture, so volumetric rendering consumes it directly with no read-back.

local fluid = require("@builtin::systems.fluidSim.fluid")

local sim = fluid.create({
    resolution = { 64, 64, 64 },
    bounds = { min = { -2, 0, -2 }, max = { 2, 4, 2 } },
})

-- Each step, emit and advance.
sim:addSource({ position = { 0, 0.4, 0 }, radius = 0.08, density = 4, temperature = 30 })
sim:step(dt)

Emitters last one step, so a continuous plume re-adds its source each frame — which is also what lets emission follow a moving object.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

This asset doesn't declare a schema or structured payload.

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.