▣
module · drop-in viewer
figures
What the four of them look like. One description per clown, and one builder that turns a description into geometry and a node list.
by·posted 1mo ago
What it does
game.clowns.figures
What the four of them look like. One description per clown, and one builder that turns a description into geometry and a node list.
- Pinch the Auguste — short and wide, a pot belly, red side-hair standing out from a bald crown, a bulb nose, shoes far too big.
- Bello the Whiteface — a narrow column under a cone, a pleated ruff, three black pompoms, a chalk face with brows drawn far too high.
- Slats the Stilt-Walker — a small striped man a long way up two poles, under a squashed bowler, with black paint run down from both eyes.
- Mr. Marrow the Ringmaster — a broad red tailcoat with gold frogging, a top hat, tails, a whip, and the only full-saturation red in the tent.
Exports
Figures.kinds() -> { string }— the ids, in the order the run meets them.Figures.design(kind) -> record?— one clown's description.Figures.headProfile(radius, height, gaunt?) -> profileFigures.build(kind) -> { meshes, nodes, paint, dims, design, tint }—meshesare geometries ready forrenderer.mesh.create;nodesis the entity list, ordered parents-first, each{ name, parent, pos, rot, mesh, material }withparent = nilmeaning the clown's own root.
Notes
- Nothing here touches the scene.
game.clowns.Rosterspawns what this returns. materialon a node is a ROLE —face,cloth,trim,glove,dark,nose— which the Roster resolves to this kind's material.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.