Coffee machine · celworld
seed

Coffee machine

coffee_machine v1Agent-madec4
Open in Playground

v1 cost

$0.550est.

Agent-made: its share of a Claude Code session, priced as API-equivalent Opus 5.5.

Output share
3.1k
Time share
1m 51s
The agent session
All 1 version$0.550

Budget

c4 · 43 lines
Shapes32 / 70
Triangles3,684 / 6,000
Draw calls3 / 4
States
None: it rests
Used in
Made
1asset coffee_machine "Coffee machine" complexity=4
2// a kitchenette counter with an espresso machine: a two-door cabinet with a counter top, the machine
3// (a chunky rounded body, a pressure gauge, a group head with a portafilter over a cup, a steam wand
4// puffing steam, cups warming on top) and a mug tree and a cookie jar beside it
5let S = .95..1.05
6let cabC = white:2|cream|mint|sky|peach
7let topC = oak:2|birch|walnut|greystone
8let machC = cherry:3|silver:2|mint|cobalt|sunflower
9let metal = silver:3|brass
10let mugA = cherry|sunflower|teal|pink
11let mugB = cobalt|lime|coral|lilac
12
13// the cabinet and its counter
14box cab size=(1.2, .86, .58)*S round=.04 bands=[.08:cabC] color=topC*.7
15box door x2 on=cab at=(0, .1, .29*S) row=(.58*S, 0, 0) size=(.54*S, .7*S, .03) round=.02 color=cabC*1.04
16box knob on=door at=(.2*S-parent.i*.4*S, .58*S, .02) size=(.025, .1, .03) round=.01 color=metal
17box counter on=cab at=(0, .86*S, 0) size=(1.26, .05, .62)*S round=.02 color=topC
18
19// the espresso machine
20box mach on=counter at=(-.1*S, .05, -.06*S) size=(.52, .44, .4)*S round=.08 bev=2 bands=[.12:machC .86:metal] color=metal
21box drip on=mach at=(0, .0, .22*S) size=(.34, .05, .12)*S round=.02 color=metal
22cyl group on=mach at=(0, .3*S, .19*S) h=.08 r=.06 color=metal segs=14
23cyl basket on=group at=(0, -.06, .01) h=.06 r=.055 color=inkDark segs=14
24box handle on=basket at=(0, .015, .08) size=(.04, .035, .16) round=.015 color=inkDark
25cyl cup on=drip at=(0, .05, -.01) h=.07 r=.04 cap=walnut color=white segs=14
26cyl gauge on=mach at=(.14*S, .3*S, .2*S) rot=(90, 0, 0) h=.03 r=.06 color=metal segs=16
27cyl dial on=gauge at=(0, .03, 0) h=.01 r=.048 color=white ink=none segs=16
28box needle on=dial at=(.012, .012, .01) roll=-40 size=(.008, .01, .035) round=.003 color=cherry ink=none
29box button x3 on=mach at=(-.16*S, .3*S, .2*S) row=(0, -.06, 0) size=(.05, .035, .03) round=.012 color=sel(i, white, inkDark, white)
30rod wand on=mach at=(.24*S, .25*S, .1*S) to=(.05, -.18, .06) r=.012 sides=6 color=metal
31cyl topcup x3 on=mach at=(-.12*S, .44*S, -.02) row=(.12, 0, 0) h=.06 r=.035 color=sel(i, mugA, mugB, white) segs=12
32
33// a mug tree and a cookie jar
34cyl treebase on=counter at=(.38*S, .05, .05) h=.02 r=.08 color=topC*.8 segs=12
35rod treepole on=treebase at=(0, .02, 0) to=(0, .3, 0) r=.012 sides=6 color=walnut
36rod peg x3 on=treepole ring at=(0, .1, 0) to=(.08, .05, 0) r=.008 sides=5 color=walnut
37cyl mug on=peg at=end+(0, -.08, 0) h=.08 r=.035 color=sel(parent.i, mugA, mugB, white) segs=12
38lathe jar on=counter at=(.36*S, .05, -.18*S) h=.2 r=.08 prof=[0:.85 .3:1 .8:1 .85:.7 1:.7] color=glass segs=16
39ball lidknob on=jar at=(0, .21, 0) r=.035 color=cherry segs=8 rings=5
40ball cookie x3 on=jar at=(0, .07, 0) ring r=(.04, .015, .04) color=honey segs=8 rings=4 if=0
41
42// steam from the wand and a wisp from the cup
43fx puff on=wand at=end speed=.35 spread=14 n=6 hz=.6 size=.03 grow=2
44