makepad/libs/flow/recipes/templates/world.splash
Arena Agent d8d5ea8b6a Repair integration manifests and port nigig exports onto upstream widget families
Restore missing required asset/flow packages from the pinned nigig revision; retain upstream script isolation, X11 hover, and widget-core fixes. Validated makepad-widgets data feature with Rust 1.97.1.
2026-10-26 11:23:26 +00:00

19 lines
505 B
Text

use mod.flow.*
/** The walkable scene to build. */
let prompt = Input{ type: @text default: "a mossy ruined observatory above a cloud sea" at: vec2(40, 120) }
let world = World{
prompt: prompt.text()
model: "flashworld"
at: vec2(360, 120)
}
/** The generated world-splat PLY. */
let scene = Output{ type: @mesh value: world.mesh() at: vec2(680, 120) }
Flow{
label: "World"
brief: "Generates a walkable Gaussian-splat world from a scene description."
prompt, world, scene
}