voxolith
API reference@voxolith/gen-creatureInterfaces

CreatureParams

Everything a creature is made from: shape the body and its rig, look the colours, gait how the generated clips move. Shape lengths are multipliers on the species' proportions (1 is the default rat), with size scaling everything. Presets in PRESETS.

Defined in: params.ts:17

Properties

PropertyTypeDescriptionDefined in
gaitobject-params.ts:48
gait.bouncenumberBody bob.params.ts:54
gait.pacenumberWalk cycles per second.params.ts:52
gait.stridenumberLeg swing, 1 = natural.params.ts:50
gait.tailSwaynumberTail swing.params.ts:56
lookobject-params.ts:39
look.bellynumberHow much lighter the belly is, 0..1.params.ts:42
look.coatCoat-params.ts:40
look.mottlenumberTonal mottling of the fur, 0..1.params.ts:44
look.redEyesbooleanAlbino eyes.params.ts:46
shapeobject-params.ts:20
shape.bodyLengthnumberTorso length.params.ts:24
shape.earsnumberEar size.params.ts:32
shape.girthnumberBody width and depth.params.ts:26
shape.headLengthnumberNeck to nose.params.ts:28
shape.legLengthnumberLeg length; longer legs carry the body higher.params.ts:34
shape.legThicknessnumber-params.ts:35
shape.sizenumberScales everything; below about 0.7 legs get thinner than 2 voxels.params.ts:22
shape.snoutnumberHow far the snout narrows, 0 blunt .. 1 pointed.params.ts:30
shape.tailLengthnumber-params.ts:36
shape.tailThicknessnumber-params.ts:37
speciesstringLabel only, e.g. "rat".params.ts:19

On this page