Playground
From filing_cabinet · 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
asset filing_cabinet "Filing cabinet" complexity=3// a three-drawer steel filing cabinet: a rounded body, three drawer fronts with label cards and bar// handles, folders packed inside the top drawer (they show when it slides out) and a little cactus or a// tray of papers on top; the open state pulls the top drawer out and pushes it backlet S = .97..1.03let bodyC = silver:2|mint:2|cobalt|sunflower|cream|corallet pullC = iron:2|silver|whitelet top = "cactus":2|"tray"// the body and its drawersbox body size=(.5, 1.1, .62)*S round=.04 bev=3 color=bodyCbox drawer x2 on=body at=(0, .045*S+.175*S, .02*S) row=(0, .35*S, 0) size=(.44, .32, .56)*S round=.025 color=bodyC*.8box face on=drawer at=(0, .01, .28*S) size=(.44, .3, .03)*S round=.025 color=bodyC*1.06box pull on=face at=(0, .17*S, .03) size=(.2, .035, .035)*S round=.015 color=pullCbox card on=face at=(0, .24*S, .025) size=(.12, .045, .012)*S round=.006 color=white ink=none// the top drawer slides; its folders show when it opensbox topd on=body at=(0, .745*S, .02*S) size=(.44, .32, .56)*S round=.025 color=bodyC*.8 jointbox topface on=topd at=(0, .01, .28*S) size=(.44, .3, .03)*S round=.025 color=bodyC*1.06box toppull on=topface at=(0, .17*S, .03) size=(.2, .035, .035)*S round=.015 color=pullCbox topcard on=topface at=(0, .24*S, .025) size=(.12, .045, .012)*S round=.006 color=white ink=nonebox folder x4 on=topd at=(0, .25*S, -.06) row=(0, 0, .1) size=(.38, .1, .02)*S round=.008 color=sel(i, sunflower, cherry, sky, lime)// on top: a cactus in a pot, or a paper traylathe pot on=body at=(.1*S, 1.1*S, 0) h=.12 r=.07 prof=[0:.8 1:1] color=terracotta segs=14 if=top=="cactus"lathe cactus on=pot at=(0, .11, 0) h=.2 r=.05 prof=[0:.9 .7:1 1:.5] panels=8 color=leafD segs=16ball bud on=cactus at=(0, .2, 0) r=.025 color=pink segs=8 rings=5cyl arm on=cactus at=(.045, .09, 0) rot=(0, 0, -60) h=.06 r=.022 color=leafD segs=8box tray on=body at=(-.05*S, 1.1*S, .02) size=(.34, .06, .26)*S round=.02 color=iron if=top=="tray"box sheets on=tray at=(0, .02, 0) size=(.3, .05, .22)*S round=.006 color=whiteanim open: topd pz keys=[0:0 .3:.42 .7:.42 1:0] hz=.4
Clean: no issues on this seed.
Loading
seed
Shapes— / 45
Triangles— / 4,500
Draw calls— / 3