Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage cityGen.package·originates fromworld 0a0b119f-a…

pipeline

This module runs every stage of the city generation pipeline in a single call, operating on a survey table rather than a graph. It is designed for scenarios like package tests, performance profiling, or tools that require a complete plan from a single function call without the ov…

byzero-proxy @ DESKTOP-DB3UJOJ·posted 11d ago
What it does

pipeline

This module runs every stage of the city generation pipeline in a single call, operating on a survey table rather than a graph. It is designed for scenarios like package tests, performance profiling, or tools that require a complete plan from a single function call without the overhead of a graph-based execution. It takes a survey table (representing the ground) and a template (containing plan sections like anchors, arterials, districts, etc.) as input, and returns a comprehensive object containing the generated ways, shorelines, districts, streets, nodes, edges, blocks, lots, courts, and performance reports for each stage. It is called by tools or tests that need to execute the entire city generation process sequentially.

Interface

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

conforms to

zero/source-extract/v2

cityGen.pipeline: every plan stage run in one call, in Luau, on a survey table. The graph runs the stages as nodes (so builtin nodes can stand between them); this module runs the same stage functions back to back for the things that want a whole plan from one call without a graph: the package's tests (on a small ground made in Luau), a profile of what each stage costs, a tool. local run = Pipeline.run(S, template, { seed = 7 }) run.ways, run.shore, run.districts, run.streets, run.nodes, run.edges, run.blocks, run.lots, run.courts, run.reports, run.ms `S` is a survey table (cityGen.survey: `Survey.read` of a graph's survey, or `Pipeline.ground` for a made one). `template` holds the plan sections: anchors, arterials, places, streets, districts, landmarks, sectors, skyline.

ground(rect: ?, step: ?, height: ?, seaLevel: ?) → void

A survey table from a height function: `height(x, z)` over a rect, `step` metres between samples.

argtypedescription
rect?
step?
height?
seaLevel?

run(S: ?, template: ?, options: ?) → void

argtypedescription
S?
template?
options?

stage(name: ?, fn: ?) → void

argtypedescription
name?
fn?

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.