Cactus
A ribbed desert cactus on a sandy mound with a few sandstone rocks and dry grass: a tall saguaro with upturned arms and a nesting hole (about 4 m), a squat barrel bristling with hooked golden spines (0.7 m), a sprawl of prickly-pear pads dotted with spine tufts (1.3 m) or an organ-pipe cluster of columns (2.6 m). Every rib carries rows of pale spines; optional blossoms and fruit. Seeded, so a scatter of copies never repeats.
- Size
- 2.2 × 3.7 × 2.3 m
- Triangles
- 1,946
- Kit
- Biomes
Tune it
4 knobs: Type, Height, Flowers, Seed.
Specs
- Size
- 2.2 × 3.7 × 2.3 m width × height × depth
- Triangles
- 1,946 of 6,000
- Draw calls
- 1 one vertex-colour material
- Knobs
- 4 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.
import { createAsset } from 'https://gaitkit.com/cdn/cactus.mjs';
const cactus = createAsset();
scene.add(cactus); // rests on y = 0, front faces +Zimport { useGLTF } from '@react-three/drei';
// cactus.glb from the Download button (it carries the knobs you set), saved in /public
export function Cactus() {
const { scene } = useGLTF('/cactus.glb');
return <primitive object={scene} />;
}
// Live knobs or terrain-following feet: copy cactus.mjs and runtime/ into your project and use the three.js tab.# Import cactus.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://cactus.glb").instantiate())// Import cactus.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": "cactus", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
type | choice | saguaro barrel prickly pear columnar | saguaro | saguaro (tall ribbed column with upturned arms), barrel (squat ribbed ball with hooked golden spines and a woolly crown), prickly pear (stacked flat oval pads with spine tufts and fruit), columnar (organ-pipe cluster of upright ribbed stems). |
height | range | 0.5 to 1.6, step 0.05 | 1 | Size relative to the type's typical height (saguaro 4 m, barrel 0.7 m, prickly pear 1.3 m, columnar 2.6 m). 0.5 is a young plant, 1.6 an old giant. |
flowers | toggle | on / off | false | Adds star-shaped blossoms on the crowns: cream on saguaro, orange-red on barrel, yellow with magenta fruit on prickly pear, pink on columnar. |
seed | range | 1 to 50, step 1 | 6 | Changes the arm count and placement, pad layout, column heights and lean, and the rocks around the foot. Scatter with different seeds so no two cacti match. |
Presets: old saguaro {"type":"saguaro","height":1.5,"seed":14} · blooming barrel {"type":"barrel","flowers":true} · pear thicket {"type":"prickly pear","flowers":true,"height":1.3,"seed":9}
Files
| File | What |
|---|---|
| cactus.glb Pro | GLB, default look · 475 KB |
| cactus.mjs Pro | ES module, every knob live |
| cactus.obj Pro | OBJ, static; colours in the .mtl |
| cactus.mtl | OBJ colours; keep it next to the .obj |
| cactus-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.