Gaitkit Open the lab
Koi Fish, A 60 cm ornamental pond carp with patterned scales and flowing fins. Swims by distance: a body wave runs from the shoulders to the tail fin while the side fins paddle; it cruises 35 cm above the pond floor.
Creature · Swims

Koi Fish

A 60 cm ornamental pond carp with patterned scales and flowing fins. Swims by distance: a body wave runs from the shoulders to the tail fin while the side fins paddle; it cruises 35 cm above the pond floor.

Size
0.23 × 0.22 × 0.71 m
Triangles
856
Open in the lab Loop clip inside. The download carries the knobs you set here.

Tune it

5 knobs: Pattern, Fin length, Barbels, Markings, Size.

Specs

Size
0.23 × 0.22 × 0.71 m
width × height × depth
Triangles
856
of 6,000
Draw calls
1
one vertex-colour material
Loop clip
0.42 m
of travel per cycle
Altitude
0.35 m
below the surface
Moving parts
6
seg_1 · rotate, seg_2 · rotate, tail · rotate, pectoral_L · rotate, pectoral_R · rotate, body · rotate
Knobs
5
3 presets
Night lights
0
none

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.

JavaScript
import { createAsset } from 'https://gaitkit.com/cdn/koi-fish.mjs';

const koiFish = createAsset();
scene.add(koiFish);                      // rests on y = 0, front faces +Z

let dist = 0;
renderer.setAnimationLoop(() => {
  dist += speed * clock.getDelta();
  koiFish.position.set(0, groundY + koiFish.userData.altitude, dist);
  koiFish.userData.tick(dist);            // the body waves with the distance
  renderer.render(scene, camera);
});

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

Knobs

KnobTypeValuesDefaultWhat it does
patternchoicekohaku showa ogon asagi tanchokohakuKoi variety: kohaku (white with red patches), showa (black with red and white), ogon (solid metallic gold), asagi (blue-grey back, orange belly and fins), tancho (white with one red spot on the head).
finsrange1 to 2, step 0.11Fin and tail length. 1 is a standard koi; 2 is a long-finned butterfly koi with trailing fins.
whiskerstoggleon / offtrueThe two pairs of whiskers (barbels) at the mouth.
seedrange1 to 40, step 17Seed for where the colour patches fall; every number is a different fish of the same variety.
sizerange0.4 to 1.6, step 0.051Uniform scale. 1 is 60 cm; 0.4 is a young 25 cm koi; 1.6 is a 1 m jumbo.

Presets: butterfly koi {"pattern":"showa","fins":2} · golden ogon {"pattern":"ogon","whiskers":true,"size":1.2} · tancho {"pattern":"tancho"}

Files

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