Cactus
A ribbed desert cactus on a little sand mound: a tall saguaro with arms (about 4 m), a squat spiny barrel (0.7 m), a sprawl of prickly-pear pads (1.3 m) or an organ-pipe cluster of columns (2.6 m), with optional blossoms. Seeded, so a scatter of copies never repeats.
- Size
- 2.4 × 4.1 × 2.2 m
- Triangles
- 1,118
- Kit
- Biomes
Tune it
4 knobs: Type, Height, Flowers, Seed.
Specs
- Size
- 2.4 × 4.1 × 2.2 m width × height × depth
- Triangles
- 1,118 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 { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/cactus.mjs';
export function Cactus() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# 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 column with upturned arms), barrel (squat ribbed ball with golden spines), prickly pear (stacked flat oval pads with fruit), columnar (organ-pipe cluster of upright 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 blossoms on the crowns: white 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. 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 | GLB, default look · 143 KB |
| cactus.mjs | ES module, every knob live |
| cactus.obj | OBJ, static, no colour |
| 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.