Coffee Cup
A coffee at real size: a cup on a saucer with a spoon and a biscuit (9 cm cup), a big mug, or a takeaway paper cup with a sleeve and lid. The drink can be a latte, cappuccino, black coffee or hot chocolate, and the latte art (heart, rosetta, tulip) is modelled as geometry on the foam.
- Size
- 0.15 × 0.07 × 0.15 m
- Triangles
- 1,084
- Kit
- Food
Tune it
4 knobs: Vessel, Drink, Latte art, Colour.
Specs
- Size
- 0.15 × 0.07 × 0.15 m width × height × depth
- Triangles
- 1,084 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/coffee-cup.mjs';
const coffeeCup = createAsset();
scene.add(coffeeCup); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/coffee-cup.mjs';
export function CoffeeCup() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import coffee-cup.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://coffee-cup.glb").instantiate())// Import coffee-cup.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": "coffee-cup", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
style | choice | cup mug takeaway | cup | cup (a ceramic cup on a saucer with a spoon and a biscuit), mug (a tall straight mug with a big handle), takeaway (a paper cup with a kraft sleeve and a lid; the drink is hidden). |
drink | choice | latte cappuccino black hot chocolate | latte | latte (brown crema with white milk art), cappuccino (a dome of milk foam dusted with cocoa), black (dark coffee with a thin crema ring), hot chocolate (with little marshmallows). |
art | choice | heart rosetta tulip none | rosetta | Milk pattern poured on a latte or flat white: heart, rosetta (a layered fern leaf), tulip (stacked blobs) or none. Modelled as thin geometry on the foam; ignored for black coffee, hot chocolate and takeaway. |
color | choice | white sage terracotta navy black | white | Glaze of the cup, saucer and mug (white, sage, terracotta, navy, black), or the print colour of the takeaway cup. |
Presets: cafe latte {"style":"cup","drink":"latte","art":"heart","color":"white"} · desk mug {"style":"mug","drink":"black","color":"navy"} · cocoa night in {"style":"mug","drink":"hot chocolate","color":"terracotta"}
Files
| File | What |
|---|---|
| coffee-cup.glb | GLB, default look · 119 KB |
| coffee-cup.mjs | ES module, every knob live |
| coffee-cup.obj | OBJ, static, no colour |
| coffee-cup-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.