Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commite09f1e4457

README.md

proc.demos

Procedural-generation demo recipes: graph builders that showcase the proc system end to end. Part of @builtin::systems.procgen.proc; required as @builtin::systems.procgen.proc.demos.

  • cashPile(proc, opts?): scatters banknote boxes over a domed disc of points with a random per-instance yaw, tilt and scale, and merges them into a single mesh (the scatter, then merge showcase). The graph's mesh output is that Geometry; opts takes count, radius, height, jitter, tilt, scaleMin, scaleMax, bill (the box size, { x, y, z }) and seed.
local proc = require("@builtin::systems.procgen.proc")
local demos = require("@builtin::systems.procgen.proc.demos")
local geo = proc.eval(demos.cashPile(proc, { count = 30 }), "output:mesh")
geo:release()