Keys and Coins
A small loot pile about 40 cm across on the floor: a ruffled leather drawstring pouch with knotted cord ends, heaped with coins and spilling rimmed coins, banded stacks of coins, an iron ring of ornate skeleton keys (ring or trefoil bows, turned shafts, toothed bits) and a few cut gems (round brilliants and step-cut stones). Every part can be switched off or counted; the gems sparkle (glow) at night.
- Size
- 0.54 × 0.18 × 0.40 m
- Triangles
- 1,296
Tune it
6 knobs: Coins, Coin stacks, Pouch, Keys, Gems, Seed.
Specs
- Size
- 0.54 × 0.18 × 0.40 m width × height × depth
- Triangles
- 1,296 of 6,000
- Draw calls
- 1 one vertex-colour material
- Knobs
- 6 3 presets
- Night lights
- 1 gem
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/keys-and-coins.mjs';
const keysAndCoins = createAsset();
scene.add(keysAndCoins); // rests on y = 0, front faces +Zimport { useGLTF } from '@react-three/drei';
// keys-and-coins.glb from the Download button (it carries the knobs you set), saved in /public
export function KeysAndCoins() {
const { scene } = useGLTF('/keys-and-coins.glb');
return <primitive object={scene} />;
}
// Live knobs or terrain-following feet: copy keys-and-coins.mjs and runtime/ into your project and use the three.js tab.# Import keys-and-coins.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://keys-and-coins.glb").instantiate())// Import keys-and-coins.glb with glTFast (com.unity.cloud.gltfast).
// Drop it in the scene: 1 unit = 1 metre, +Z is its front.Use the gaitkit MCP server: get_variant({ "id": "keys-and-coins", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
coins | choice | gold silver copper | gold | Coin metal: gold, silver or copper. |
stacks | range | 0 to 6, step 1 | 3 | How many stacks of coins stand in front, 0 to 6. |
pouch | toggle | on / off | true | A leather drawstring coin pouch, open with coins spilling out in front of it. |
keys | range | 0 to 5, step 1 | 3 | How many skeleton keys hang on the iron key ring, 0 (no ring) to 5. |
gems | range | 0 to 6, step 1 | 4 | How many cut gems (ruby, sapphire, emerald, amethyst, topaz, aquamarine) lie around, 0 to 6. |
seed | range | 1 to 30, step 1 | 3 | Reshuffles stack heights, spilled coins, key shapes and gem colours. |
Presets: jailer key ring {"keys":5,"stacks":0,"pouch":false,"gems":0} · pirate hoard {"coins":"gold","stacks":6,"gems":6,"keys":1,"seed":9} · silver purse {"coins":"silver","stacks":2,"gems":1,"keys":0}
Files
| File | What |
|---|---|
| keys-and-coins.glb Pro | GLB, default look · 209 KB |
| keys-and-coins.mjs Pro | ES module, every knob live |
| keys-and-coins.obj Pro | OBJ, static; colours in the .mtl |
| keys-and-coins.mtl | OBJ colours; keep it next to the .obj |
| keys-and-coins-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.