Giraffe
A 4.8 m-tall giraffe (3 m at the shoulder) with a sloping back, a long neck, ossicones and a patch coat painted face by face from a seeded cell pattern. Walks with the near-pacing gait of a real giraffe on long IK legs with planted hooves; the neck pumps with every stride.
- Size
- 0.68 × 4.7 × 3.3 m
- Triangles
- 2,872
- Kit
- Wildlife
Tune it
4 knobs: Pattern, Neck, Seed, Size.
Specs
- Size
- 0.68 × 4.7 × 3.3 m width × height × depth
- Triangles
- 2,872 of 6,000
- Draw calls
- 1 one vertex-colour material
- Legs
- 4 2 gait groups
- Stride
- 95 cm duty factor 0.66
- Foot slide
- 0.00 mm limit 1 mm
- Walk clip
- 2.375 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.
import { createAsset } from 'https://gaitkit.com/cdn/giraffe.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
const giraffe = createAsset();
scene.add(giraffe); // rests on y = 0, front faces +Z
const gait = walker(giraffe, { ground: (x, z) => terrainHeight(x, z) }); // or omit ground for a flat floor
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
giraffe.position.z = dist;
gait.poseAt(dist); // feet stay planted, at any frame rate
renderer.render(scene, camera);
});import { useMemo, useRef } from 'react';
import { useFrame } from '@react-three/fiber';
import { createAsset } from 'https://gaitkit.com/cdn/giraffe.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
export function Giraffe({ speed = 1 }) {
const model = useMemo(() => createAsset(), []);
const gait = useMemo(() => walker(model), [model]);
const dist = useRef(0);
useFrame((_, dt) => {
dist.current += speed * dt;
model.position.z = dist.current;
gait.poseAt(dist.current); // feet stay planted, at any frame rate
});
return <primitive object={model} />;
}# Import giraffe.glb (download below). It carries an in-place "Walk" animation.
@onready var anim: AnimationPlayer = $Giraffe/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Walk")
anim.speed_scale = speed / 2.375 # Walk clip covers 2.375 m/s at 1x// Import giraffe.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Walk");
animator.speed = speed / 2.375 // Walk clip covers 2.375 m/s at 1xUse the gaitkit MCP server: get_variant({ "id": "giraffe", "want": "default look" })
then place the result and walk it with walker() so the feet stay planted.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
pattern | choice | reticulated masai rothschild | reticulated | Coat pattern: reticulated (liver-red patches with crisp white lines), masai (dark jagged patches on tan), rothschild (pale patches, wide cream gaps, white socks). |
neck | range | 0.75 to 1.25, step 0.05 | 1 | Neck length: 1 is a real adult (about 2 m), 0.75 a stockier young animal, 1.25 an extra-tall bull. |
seed | range | 1 to 99, step 1 | 7 | Patch layout: every number gives a different arrangement of patches, like a real giraffe's unique coat. |
size | range | 0.4 to 1.15, step 0.05 | 1 | Uniform scale. 1 is about 4.8 m to the top of the head; 0.4 reads as a newborn calf (still taller than a person). |
Presets: calf {"size":0.4,"neck":0.85} · masai bull {"pattern":"masai","neck":1.2,"size":1.1} · rothschild {"pattern":"rothschild","seed":23}
Files
| File | What |
|---|---|
| giraffe.glb | GLB, default look · 356 KB |
| giraffe.mjs | ES module, every knob live |
| giraffe.obj | OBJ, static, no colour |
| giraffe-params.json | knob 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.