Gaitkit Open the lab
Rock Crab, A chunky shore crab that scuttles sideways on eight legs, two big claws folded in front of its face. It travels along +Z like every walker, so its face looks along +X. The claws snap while it walks.
Creature · Walks on 8 legs

Rock Crab

A chunky shore crab that scuttles sideways on eight legs, two big claws folded in front of its face. It travels along +Z like every walker, so its face looks along +X. The claws snap while it walks.

Size
0.44 × 0.17 × 0.65 m
Triangles
1,480
Open in the lab Walk clip inside. The download carries the knobs you set here.

Tune it

4 knobs: Shell, Claw size, Size, Spikes.

Specs

Size
0.44 × 0.17 × 0.65 m
width × height × depth
Triangles
1,480
of 6,000
Draw calls
1
one vertex-colour material
Legs
8
2 gait groups
Stride
8 cm
duty factor 0.6
Foot slide
0.00 mm
limit 1 mm
Walk clip
0.2 m/s
at playback speed 1
Moving parts
2
claw_L_pincer · rotate, claw_R_pincer · rotate
Knobs
4
1 presets
Night lights
1
claw

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/rock-crab.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';

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

let dist = 0;
renderer.setAnimationLoop(() => {
  dist += speed * clock.getDelta();
  rockCrab.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
shellchoiceshore blue ghost lavashoreshore (classic red-orange), blue (blue crab with orange claw tips), ghost (pale sand crab), lava (black with glowing orange claws).
clawSizerange0.6 to 2, step 0.051Scales both claws. Above 1.5 gives a fiddler-crab or boss look.
sizerange0.5 to 4, step 0.11Uniform scale. 1 is a 40 cm crab; 4 is a giant enemy crab.
spikestoggleon / offfalseAdds a row of spines along the front and side rim of the shell.

Presets: giant enemy crab {"size":3.5,"clawSize":1.6,"spikes":true,"shell":"lava"}

Files

FileWhat
rock-crab.glbGLB, default look · 221 KB
rock-crab.mjsES module, every knob live
rock-crab.objOBJ, static, no colour
rock-crab-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.