Figures
One-paragraph description of what this module provides and who consumes it.
Figures
One-paragraph description of what this module provides and who consumes it.
Exports
M.exampleFn(arg) -> result— what it does and when to call it.M.exampleValue: type— what value it carries.
Usage
Replace <identity> with the string asset.create returned — this
module's source path with / written as . and each segment's type
suffix dropped, the way a module at /source/lib/thing.module is
lib.thing and one at /source/kit.package/thing.module is
kit.thing.
local M = require("<identity>")
M.exampleFn("foo")
Notes
- Anything callers need to know about THIS module: required runtime ordering, state ownership, side effects.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2game.characters.Figures — every figure of IN THE WIRE as geometry. Line figures (Teddy, the outline townsfolk, the Postman) are posed stick skeletons turned into segment lists; the Cast builder bakes one mesh per flipbook frame (walk cycle, idle, kneel). The graphite player strokes are unit strokes StickBody stretches between the humanoid's bones each frame. The Fill (the Filled Postman, the Smear) is solid lit flesh geometry. Figure space: x = figure's left/right, y = up, +z = the way the figure faces. Shared runtime state (the local player's body) lives in F.state.
add(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
sub(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
mul(a: ?, s: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| s | ? |
dot(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
cross(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
len(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
norm(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
lerp3(a: ?, b: ?, t: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? | |
| t | ? |
rng(seed: number) → void
| arg | type | description |
|---|---|---|
| seed | number |
arc(out: ?, c: ?, r: ?, ax: ?, ay: ?, a0: ?, a1: ?, n: ?) → void
| arg | type | description |
|---|---|---|
| out | ? | |
| c | ? | |
| r | ? | |
| ax | ? | |
| ay | ? | |
| a0 | ? | |
| a1 | ? | |
| n | ? |
boxAt(out: ?, c: ?, s: ?) → void
| arg | type | description |
|---|---|---|
| out | ? | |
| c | ? | |
| s | ? |
strokeUnit(strands: number, jit: number, seed: number, bow: number?) → void
Pencil / crayon strokes (unit length along -Z, so an entity placed at A and aimed at B with z-scale |AB| draws A -> B; thickness never scales).
| arg | type | description |
|---|---|---|
| strands | number | |
| jit | number | |
| seed | number | |
| bow | number? |
ringStroke(rx: number, ry: number, strands: number, jit: number, seed: number, n: number?) → void
a hand-drawn loop in the XY plane (faces +/-Z), several overshooting passes
| arg | type | description |
|---|---|---|
| rx | number | |
| ry | number | |
| strands | number | |
| jit | number | |
| seed | number | |
| n | number? |
footLoop(strands: number, jit: number, seed: number) → void
a flattened loop foot: from the ankle (z=0) to the toe (z=-1)
| arg | type | description |
|---|---|---|
| strands | number | |
| jit | number | |
| seed | number |
walkPose(phase: number, amp: number?) → any
Poses
| arg | type | description |
|---|---|---|
| phase | number | |
| amp | number? |
idlePose(breath: number?) → any
| arg | type | description |
|---|---|---|
| breath | number? |
kneelPose( ) → any
figure(spec: any, P: any) → void
A posed line figure. spec: scale, headR, hat, carry, skirt, eyes, feet, slouch, lean.
| arg | type | description |
|---|---|---|
| spec | any | |
| P | any |
seg(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
H(x: ?, y: ?, z: ?) → void
| arg | type | description |
|---|---|---|
| x | ? | |
| y | ? | |
| z | ? |
solid( ) → void
Solid geometry (the Fill)
sv(S: ?, p: ?, h: ?, u: ?, vv: ?) → void
| arg | type | description |
|---|---|---|
| S | ? | |
| p | ? | |
| h | ? | |
| u | ? | |
| vv | ? |
grid(S: ?, rows: ?, cols: ?, at: ?) → void
| arg | type | description |
|---|---|---|
| S | ? | |
| rows | ? | |
| cols | ? | |
| at | ? |
finish(S: ?) → void
| arg | type | description |
|---|---|---|
| S | ? |
ellipsoid(S: ?, c: ?, r: ?, shape: ?, segU: ?, segV: ?, uvs: ?) → void
| arg | type | description |
|---|---|---|
| S | ? | |
| c | ? | |
| r | ? | |
| shape | ? | |
| segU | ? | |
| segV | ? | |
| uvs | ? |
surface(S: ?, pointFn: ?, segU: ?, segV: ?, uvs: ?) → void
| arg | type | description |
|---|---|---|
| S | ? | |
| pointFn | ? | |
| segU | ? | |
| segV | ? | |
| uvs | ? |
tube(S: ?, pts: ?, radii: ?, sides: ?) → void
| arg | type | description |
|---|---|---|
| S | ? | |
| pts | ? | |
| radii | ? | |
| sides | ? |
bumps(seed: ?, count: ?, amp: ?, width: ?) → void
| arg | type | description |
|---|---|---|
| seed | ? | |
| count | ? | |
| amp | ? | |
| width | ? |
fleshEye(eyeW: ?, eyeP: ?, R: ?, p: ?, n: ?, r: ?, sink: number?) → void
an eye half-sunk in flesh: white ball pushed in along n, pupil staring off
| arg | type | description |
|---|---|---|
| eyeW | ? | |
| eyeP | ? | |
| R | ? | |
| p | ? | |
| n | ? | |
| r | ? | |
| sink | number? |
drip(S: ?, top: ?, length: ?, r: ?, lean: ?) → void
a hanging teardrop of skin from `top`, `length` long
| arg | type | description |
|---|---|---|
| S | ? | |
| top | ? | |
| length | ? | |
| r | ? | |
| lean | ? |
sagShape(seed: ?) → void
teardrop sack: bumpy, heavier at the bottom
| arg | type | description |
|---|---|---|
| seed | ? |
filledPostman( ) → any
The Filled Postman: a cyan wireframe skeleton stuffed with sagging wet skin (textured_postman.png): rolls of skin creased toward a hem that splits into two hanging lobes, thigh sacks, drips, a dozen-plus eyes, a pasted photo face, a mailbag of teeth and red crayon "POST IS PAIN" on the belly. Returns one geometry per material.
torsoPoint(d: ?) → void
| arg | type | description |
|---|---|---|
| d | ? |
torsoNormal(d: ?) → void
| arg | type | description |
|---|---|---|
| d | ? |
diamond(c: ?, r: ?) → void
the cyan wire still showing at the limbs (cages + joint diamonds)
| arg | type | description |
|---|---|---|
| c | ? | |
| r | ? |
onSkin(x: ?, y: ?) → void
red crayon scrawl on the belly: POST / IS / PAIN
| arg | type | description |
|---|---|---|
| x | ? | |
| y | ? |
smear(seed: number?) → any
The Smear: a low crawling puddle-mound of wet skin (~4 m body, ~0.4 m high) with sag rolls and radial folds, finger-like tendrils reaching out across the ground (each splitting into fingers) and half-sunk eyes. Returns { body, eyeWhite, eyePupil }.
| arg | type | description |
|---|---|---|
| seed | number? |
edge(ph: ?) → void
| arg | type | description |
|---|---|---|
| ph | ? |
bodyPoint(t: ?, ph: ?) → void
| arg | type | description |
|---|---|---|
| t | ? | |
| ph | ? |
quad( ) → any
A 1x1 quad facing -Z (seen the right way round from a viewer it is aimed at).
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ 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".
Scoped to this part · feeds back into the world's score.