Chameleon
A chameleon about 45 cm from snout to curled tail tip and 13 cm tall at the casque: a tall, flat-sided body with a beaded dorsal crest and a pale throat-to-belly crest, a helmet-like casque over the head, two turret eyes in scaly cones that swivel on their own, a pale lateral stripe and spots on the flanks, mitten feet with two-and-three toe bundles, and a tail that coils into a spiral. Walks with a slow, rocking diagonal gait; the eyes look around independently, the tongue flicks and the tail coil tightens and loosens.
- Size
- 0.15 × 0.17 × 0.41 m
- Triangles
- 1,892
- Kit
- Wildlife
Tune it
4 knobs: Coat, Casque, Spots and stripe, Size.
Specs
- Size
- 0.15 × 0.17 × 0.41 m width × height × depth
- Triangles
- 1,892 of 6,000
- Draw calls
- 1 one vertex-colour material
- Legs
- 4 2 gait groups
- Stride
- 5 cm duty factor 0.7
- Foot slide
- 0.00 mm limit 1 mm
- Walk clip
- 0.125 m/s at playback speed 1
- Moving parts
- 10 eye_L · rotate, eye_R · rotate, tail_3 · rotate, tail_4 · rotate, tail_5 · rotate, tail_6 · rotate, tail_7 · rotate, tail_8 · rotate, tail_9 · rotate, tongue · slide
- Knobs
- 4 4 presets
- Night lights
- 0 none
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/chameleon.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
const chameleon = createAsset();
scene.add(chameleon); // rests on y = 0, front faces +Z
const gait = walker(chameleon, { ground: (x, z) => terrainHeight(x, z) }); // or omit ground for a flat floor
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
chameleon.position.z = dist;
gait.poseAt(dist); // feet stay planted, at any frame rate
renderer.render(scene, camera);
});import { useGLTF, useAnimations } from '@react-three/drei';
import { useEffect } from 'react';
// chameleon.glb from the Download button (it carries the knobs you set), saved in /public
export function Chameleon({ speed = 1 }) {
const { scene, animations } = useGLTF('/chameleon.glb');
const { actions } = useAnimations(animations, scene);
useEffect(() => {
const clip = actions['Walk'];
clip?.play();
if (clip) clip.timeScale = speed / 0.125; // the Walk clip covers 0.125 m/s at 1x
}, [actions, speed]);
return <primitive object={scene} />;
}
// Live knobs or terrain-following feet: copy chameleon.mjs and runtime/ into your project and use the three.js tab.# Import chameleon.glb (download below). It carries an in-place "Walk" animation.
@onready var anim: AnimationPlayer = $Chameleon/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Walk")
anim.speed_scale = speed / 0.125 # Walk clip covers 0.125 m/s at 1x// Import chameleon.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Walk");
animator.speed = speed / 0.125 // Walk clip covers 0.125 m/s at 1xUse the gaitkit MCP server: get_variant({ "id": "chameleon", "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 |
|---|---|---|---|---|
coat | choice | leaf panther turquoise bark | leaf | Skin colours: leaf (bright green with a yellow stripe and teal spots, like a veiled chameleon), panther (red with a cream stripe and blue spots), turquoise (blue-green with a gold stripe and orange spots), bark (camouflage brown). |
casque | range | 0 to 1.6, step 0.05 | 1 | Height of the helmet crest over the head. 0 is a low, rounded head (a common chameleon); 1 is a veiled chameleon; 1.6 is a tall fin. |
spots | toggle | on / off | true | The pale lateral stripe and the coloured spots on the flanks. Off = one plain colour with darker shading. |
size | range | 0.5 to 4, step 0.05 | 1 | Uniform scale. 1 is a real chameleon, about 45 cm long; 4 is a 1.8 m giant for a fantasy jungle. |
Presets: veiled chameleon {"coat":"leaf","casque":1.2} · panther chameleon {"coat":"panther","casque":0.35} · jewel chameleon {"coat":"turquoise","casque":0.8} · bark hider {"coat":"bark","casque":0.6,"spots":false}
Files
| File | What |
|---|---|
| chameleon.glb Pro | GLB, default look · 406 KB |
| chameleon.mjs Pro | ES module, every knob live |
| chameleon.obj Pro | OBJ, static; colours in the .mtl |
| chameleon.mtl | OBJ colours; keep it next to the .obj |
| chameleon-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.