Pirate Galleon
A 24 m three-masted galleon with a hull of toned plank strakes, a gold wale and fore-and-aft deck planking, a tall stepped stern castle, raised forecastle, beakhead and long bowsprit, a broadside of cannons behind hinged gunports, square sails in seamed panels with reef bands on the fore and main mast, a lateen on the mizzen and ratlines up every set of shrouds. The bow points +Z; it rides the water surface (altitude 0) and bobs, rolls and pitches gently as it sails. The keel rests on y = 0 and the waterline is about 2 m up (userData.waterline). Stern lanterns and cabin windows glow at night.
- Size
- 9.4 × 24.1 × 30.1 m
- Triangles
- 4,661
- Kit
- Pirates
Tune it
5 knobs: Hull paint, Sails, Sail colour, Cannons, Flag.
Specs
- Size
- 9.4 × 24.1 × 30.1 m width × height × depth
- Triangles
- 4,661 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 18 m of travel per cycle
- Altitude
- 0 m below the surface
- Moving parts
- 4 bob · slide, roll · rotate, pitch · rotate, flag · rotate
- Knobs
- 5 3 presets
- Night lights
- 2 lantern, window
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/pirate-ship.mjs';
const pirateShip = createAsset();
scene.add(pirateShip); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
pirateShip.position.set(0, groundY + pirateShip.userData.altitude, dist);
pirateShip.userData.tick(dist); // the body waves with the distance
renderer.render(scene, camera);
});import { useGLTF, useAnimations } from '@react-three/drei';
import { useEffect } from 'react';
// pirate-ship.glb from the Download button (it carries the knobs you set), saved in /public
export function PirateShip({ speed = 1 }) {
const { scene, animations } = useGLTF('/pirate-ship.glb');
const { actions } = useAnimations(animations, scene);
useEffect(() => {
const clip = actions['Loop'];
clip?.play();
if (clip) clip.timeScale = speed / 18; // one Loop = 18 m of travel
}, [actions, speed]);
return <primitive object={scene} />;
}
// Live knobs or terrain-following feet: copy pirate-ship.mjs and runtime/ into your project and use the three.js tab.# Import pirate-ship.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $PirateShip/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 18 # one Loop = 18 m of travel// Import pirate-ship.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 18 // one Loop = 18 m of travelUse the gaitkit MCP server: get_variant({ "id": "pirate-ship", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
hull | choice | black and gold oxblood oak navy sea green | black and gold | Hull colour scheme: black and gold (black hull, gold gunport band, pale tallowed bottom), oxblood (dark red), oak (bare varnished wood), navy (blue with a cream band), sea green. |
sails | choice | full furled | full | full (every sail set and bellied out by a following wind, plus a jib) or furled (sails rolled tight on their yards, as at anchor). |
sailColor | choice | canvas white black red striped | canvas | Sail cloth: canvas (warm off-white), white, black, red or striped (canvas with red horizontal stripes). Plain cloth, no emblems. |
cannons | range | 0 to 7, step 1 | 5 | Gunports per side along the main deck, each with an open lid and a cannon muzzle. 0 gives a merchant galleon with a plain band. |
flag | choice | black red red and gold blue and white green and white | black | Colour of the plain flag at the mainmast head and the pennants: black, red, red and gold stripes, blue and white stripes, green and white stripes. |
Presets: black flag raider {"hull":"black and gold","sailColor":"black","flag":"black","cannons":7} · navy flagship {"hull":"navy","sailColor":"white","flag":"blue and white","cannons":6} · at anchor {"hull":"oak","sails":"furled","cannons":3,"flag":"red and gold"}
Files
| File | What |
|---|---|
| pirate-ship.glb Pro | GLB, default look · 609 KB |
| pirate-ship.mjs Pro | ES module, every knob live |
| pirate-ship.obj Pro | OBJ, static; colours in the .mtl |
| pirate-ship.mtl | OBJ colours; keep it next to the .obj |
| pirate-ship-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.