Gaitkit Open the lab
Pig, A round farm pig about 0.8 m at the shoulder and 1.4 m long with a flat snout disc and a curly tail, in pink, spotted, saddleback, black, ginger or wild boar (with tusks and a bristle crest), with upright or floppy ears and optional mud. Walks with a real lateral-sequence gait on short legs: front knees bend forward, hind hocks bend back, trotters stay planted, the head nods and the tail wiggles.
Creature · Walks on 4 legs

Pig

A round farm pig about 0.8 m at the shoulder and 1.4 m long with a flat snout disc and a curly tail, in pink, spotted, saddleback, black, ginger or wild boar (with tusks and a bristle crest), with upright or floppy ears and optional mud. Walks with a real lateral-sequence gait on short legs: front knees bend forward, hind hocks bend back, trotters stay planted, the head nods and the tail wiggles.

Size
0.62 × 1.0 × 1.6 m
Triangles
2,174
Open in the lab Walk clip inside. The download carries the knobs you set here.

Tune it

4 knobs: Coat, Ears, Mud, Size.

Specs

Size
0.62 × 1.0 × 1.6 m
width × height × depth
Triangles
2,174
of 6,000
Draw calls
1
one vertex-colour material
Legs
4
2 gait groups
Stride
22 cm
duty factor 0.68
Foot slide
0.00 mm
limit 1 mm
Walk clip
0.55 m/s
at playback speed 1
Moving parts
2
neck · rotate, tail · rotate
Knobs
4
3 presets
Night lights
1
eye

Passed the validator: real scale, rests on y = 0, front faces +Z, deterministic, planted feet never slide past 1 mm.

Use it

Code for the specimen as it is set up above; it follows your knobs.

JavaScript
import { createAsset } from 'https://gaitkit.com/cdn/pig.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';

const pig = createAsset();
scene.add(pig);                      // rests on y = 0, front faces +Z
const gait = walker(pig, { ground: (x, z) => terrainHeight(x, z) });   // or omit ground for a flat floor

let dist = 0;
renderer.setAnimationLoop(() => {
  dist += speed * clock.getDelta();
  pig.position.z = dist;
  gait.poseAt(dist);                  // feet stay planted, at any frame rate
  renderer.render(scene, camera);
});

More in the docs; agents can fetch all of this through MCP.

Knobs

KnobTypeValuesDefaultWhat it does
coatchoicepink spotted saddleback black ginger boarpinkCoat: pink (classic farm pig), spotted (pink with black spots and black ears), saddleback (black with a white band over the shoulders), black (with a pale snout and white trotters), ginger (red-gold), boar (bristly brown wild boar with tusks and a mane).
earschoiceupright floppyuprightEar shape: upright (pointed ears standing up) or floppy (big ears drooping forward over the eyes).
mudtoggleon / offfalseCaked mud on the legs, belly and flanks, fresh from wallowing.
sizerange0.4 to 1.25, step 0.051Uniform scale. 1 is a grown pig 0.8 m at the shoulder; 0.4 is a piglet; 1.25 is a huge sow or boar.

Presets: muddy piglet {"coat":"pink","size":0.45,"mud":true} · wild boar {"coat":"boar","ears":"upright","size":1.1} · old spot sow {"coat":"spotted","ears":"floppy","size":1.15}

Files

FileWhat
pig.glbGLB, default look · 281 KB
pig.mjsES module, every knob live
pig.objOBJ, static, no colour
pig-params.jsonknob schema, presets, night zones

Licence

Use it in games, apps, renders and client work, commercially and without credit. Do not resell it as an asset or train a 3D generator on it. The full licence.