drag to orbit · tap the ground to send it
Creature · Swims
Shark
A 3 m ocean shark with countershaded skin, a tall dorsal fin and a crescent tail. Swims by distance: the rear half sweeps side to side while the head stays steady; it cruises 1.2 m above the sea floor. Reef, blue, great or hammerhead.
- Size
- 1.4 × 1.2 × 3.5 m
- Triangles
- 672
- Kit
- Underwater
Tune it
4 knobs: Species, Open mouth, Research tag, Size.
Specs
- Size
- 1.4 × 1.2 × 3.5 m width × height × depth
- Triangles
- 672 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 1.8 m of travel per cycle
- Altitude
- 1.2 m below the surface
- Moving parts
- 7 body · rotate, seg_1 · rotate, seg_2 · rotate, tail · rotate, pectoral_L · rotate, pectoral_R · rotate, jaw · rotate
- Knobs
- 4 3 presets
- Night lights
- 1 tag
Passed the validator: real scale, rests on y = 0, front faces +Z, deterministic.
Use it
Code for the specimen as it is set up above; it follows your knobs.
import { createAsset } from 'https://gaitkit.com/cdn/shark.mjs';
const shark = createAsset();
scene.add(shark); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
shark.position.set(0, groundY + shark.userData.altitude, dist);
shark.userData.tick(dist); // the body waves with the distance
renderer.render(scene, camera);
});import { useMemo, useRef } from 'react';
import { useFrame } from '@react-three/fiber';
import { createAsset } from 'https://gaitkit.com/cdn/shark.mjs';
export function Shark({ speed = 1 }) {
const model = useMemo(() => createAsset(), []);
const dist = useRef(0);
useFrame((_, dt) => {
dist.current += speed * dt;
model.position.set(0, groundY + model.userData.altitude, dist.current);
model.userData.tick(dist.current); // the body waves with the distance
});
return <primitive object={model} />;
}# Import shark.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $Shark/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 1.8 # one Loop = 1.8 m of travel// Import shark.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 1.8 // one Loop = 1.8 m of travelUse the gaitkit MCP server: get_variant({ "id": "shark", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
species | choice | reef blue great hammer | reef | Body plan and colour: reef (grey, black fin tips), blue (slender, deep blue, long side fins), great (heavy grey body, sharp white belly), hammer (hammerhead: wide flat head with eyes at the tips). |
mouth | toggle | on / off | false | Jaw dropped open showing rows of teeth. Off = mouth closed. |
tag | toggle | on / off | false | A small yellow tracking tag clipped to the dorsal fin; it glows at night. |
size | range | 0.4 to 2.2, step 0.05 | 1 | Uniform scale. 1 is 3 m long; 0.4 is a 1.2 m pup; 2.2 is a 6.5 m giant. |
Presets: great white {"species":"great","mouth":true,"size":1.6} · hammerhead {"species":"hammer"} · tagged blue {"species":"blue","tag":true}
Files
| File | What |
|---|---|
| shark.glb | GLB, default look · 98 KB |
| shark.mjs | ES module, every knob live |
| shark.obj | OBJ, static, no colour |
| shark-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.