Area Rug
A flat-woven floor rug 1.2 to 3.5 m long and 13 mm thick: rectangular (2:3), a long hallway runner or round, with a bound edge and fringed ends. Five patterns are woven cell by cell into the top (kilim stepped diamonds, a medallion rug with guard borders and corner pieces, bold stripes, a Berber diamond lattice, or a plain field with a border) in five colourways. Low-poly: each pattern merges into a few hundred flat-coloured rectangles.
- Size
- 2.6 × 0.02 × 1.6 m
- Triangles
- 988
Tune it
5 knobs: Pattern, Shape, Length, Colourway, Fringe.
Specs
- Size
- 2.6 × 0.02 × 1.6 m width × height × depth
- Triangles
- 988 of 6,000
- Draw calls
- 1 one vertex-colour material
- 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.
import { createAsset } from 'https://gaitkit.com/cdn/area-rug.mjs';
const areaRug = createAsset();
scene.add(areaRug); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/area-rug.mjs';
export function AreaRug() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import area-rug.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://area-rug.glb").instantiate())// Import area-rug.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": "area-rug", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
pattern | choice | kilim medallion stripes lattice border | kilim | kilim (rows of stepped diamonds between zigzag borders), medallion (a classic rug: a central medallion, corner pieces, guard stripes and a wide border), stripes (bold bands of varying width across the rug), lattice (a pale Berber field crossed by a thin dark diamond lattice), border (a plain field inside a simple contrasting border). |
shape | choice | rect runner round | rect | rect (a 2:3 rectangle), runner (a long narrow hallway rug, 60 to 90 cm wide), round (a circle with a bound edge, no fringe). |
size | range | 1.2 to 3.5, step 0.1 | 2.4 | Length of the long side in metres (the diameter of a round rug). A 2.4 m rect is 1.6 m wide. |
colors | choice | terracotta indigo sage neutral charcoal | terracotta | terracotta (rust red, cream, navy, ochre), indigo (deep blue, cream, brick red, gold), sage (soft green, cream, moss, clay), neutral (oatmeal, cream, dark brown), charcoal (dark grey, chalk, burnt orange). |
fringe | toggle | on / off | true | Cream tassels along both short ends (rect and runner). |
Presets: living room kilim {"pattern":"kilim","shape":"rect","size":2.4,"colors":"terracotta"} · heirloom runner {"pattern":"medallion","shape":"runner","size":3,"colors":"indigo"} · scandi round {"pattern":"lattice","shape":"round","size":1.8,"colors":"neutral","fringe":false}
Files
| File | What |
|---|---|
| area-rug.glb Pro | GLB, default look · 85 KB |
| area-rug.mjs Pro | ES module, every knob live |
| area-rug.obj Pro | OBJ, static; colours in the .mtl |
| area-rug.mtl | OBJ colours; keep it next to the .obj |
| area-rug-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.