Playground
From coffee_machine · Compiles in your browser · $0
CtrlShiftS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
asset coffee_machine "Coffee machine" complexity=4// a kitchenette counter with an espresso machine: a two-door cabinet with a counter top, the machine// (a chunky rounded body, a pressure gauge, a group head with a portafilter over a cup, a steam wand// puffing steam, cups warming on top) and a mug tree and a cookie jar beside itlet S = .95..1.05let cabC = white:2|cream|mint|sky|peachlet topC = oak:2|birch|walnut|greystonelet machC = cherry:3|silver:2|mint|cobalt|sunflowerlet metal = silver:3|brasslet mugA = cherry|sunflower|teal|pinklet mugB = cobalt|lime|coral|lilac// the cabinet and its counterbox cab size=(1.2, .86, .58)*S round=.04 bands=[.08:cabC] color=topC*.7box 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.04box knob on=door at=(.2*S-parent.i*.4*S, .58*S, .02) size=(.025, .1, .03) round=.01 color=metalbox counter on=cab at=(0, .86*S, 0) size=(1.26, .05, .62)*S round=.02 color=topC// the espresso machinebox mach on=counter at=(-.1*S, .05, -.06*S) size=(.52, .44, .4)*S round=.08 bev=2 bands=[.12:machC .86:metal] color=metalbox drip on=mach at=(0, .0, .22*S) size=(.34, .05, .12)*S round=.02 color=metalcyl group on=mach at=(0, .3*S, .19*S) h=.08 r=.06 color=metal segs=14cyl basket on=group at=(0, -.06, .01) h=.06 r=.055 color=inkDark segs=14box handle on=basket at=(0, .015, .08) size=(.04, .035, .16) round=.015 color=inkDarkcyl cup on=drip at=(0, .05, -.01) h=.07 r=.04 cap=walnut color=white segs=14cyl gauge on=mach at=(.14*S, .3*S, .2*S) rot=(90, 0, 0) h=.03 r=.06 color=metal segs=16cyl dial on=gauge at=(0, .03, 0) h=.01 r=.048 color=white ink=none segs=16box needle on=dial at=(.012, .012, .01) roll=-40 size=(.008, .01, .035) round=.003 color=cherry ink=nonebox 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)rod wand on=mach at=(.24*S, .25*S, .1*S) to=(.05, -.18, .06) r=.012 sides=6 color=metalcyl 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// a mug tree and a cookie jarcyl treebase on=counter at=(.38*S, .05, .05) h=.02 r=.08 color=topC*.8 segs=12rod treepole on=treebase at=(0, .02, 0) to=(0, .3, 0) r=.012 sides=6 color=walnutrod peg x3 on=treepole ring at=(0, .1, 0) to=(.08, .05, 0) r=.008 sides=5 color=walnutcyl mug on=peg at=end+(0, -.08, 0) h=.08 r=.035 color=sel(parent.i, mugA, mugB, white) segs=12lathe 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=16ball lidknob on=jar at=(0, .21, 0) r=.035 color=cherry segs=8 rings=5ball cookie x3 on=jar at=(0, .07, 0) ring r=(.04, .015, .04) color=honey segs=8 rings=4 if=0// steam from the wand and a wisp from the cupfx puff on=wand at=end speed=.35 spread=14 n=6 hz=.6 size=.03 grow=2
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4