Playground
From desk_set · 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
45
46
47
48
49
50
51
52
53
54
asset desk_set "Desk set" complexity=5// an open-plan work desk: a chunky top on two end panels with a drawer pedestal, a monitor on a stand// showing a chart and lines of code, a keyboard and mouse, a mug or a little plant or a paper stack,// and an office chair rolled out to the right so the worker can stand at the desk; the worker side is +Zlet W = 1.5..1.7let D = .76..0.84let H = .74let topC = birch:3|oak:2|white|creamlet legC = white:2|iron|silver|topClet chairC = cobalt:2|cherry|teal|grape|tangerine|ironlet screenC = sky:2|mint|lilac|aqualet lineA = cherry|marigold|lime|pinklet lineB = cobalt|teal|grapelet extra = "mug":2|"plant":2|"papers"// the desk: top, end panels, a back modesty panel and a drawer pedestalbox top at=(0, H-.05, 0) size=(W, .05, D) round=.02 bev=3 color=topCbox side on=top at=(W/2-.05, -(H-.05), 0) mirror size=(.06, H-.05+.01, D-.08) round=.02 color=legCbox back on=top at=(0, -.5, -D/2+.06) size=(W-.2, .4, .04) round=.015 color=legCbox ped on=top at=(-W/2+.32, -(H-.05)+.02, .02) size=(.42, H-.1, D-.16) round=.03 color=legCbox drawer x3 on=ped row=(0, .2, 0) at=(0, .31, (D-.16)/2-.01) size=(.36, .17, .03) round=.015 color=topCbox pull on=drawer at=(0, .065, .02) size=(.12, .025, .025) round=.01 color=silver// the monitor: foot, neck, the screen in a dark frame with a chart and code linesbox foot on=top at=(0, .05, -D*.25) size=(.26, .02, .18) round=.008 color=ironbox neck on=foot at=(0, .02, -.04) size=(.05, .26, .04) round=.012 color=ironbox frame on=neck at=(0, .14, .03) size=(.66, .42, .04) round=.025 color=inkDarkbox screen on=frame at=(0, .025, .018) size=(.6, .36, .012) round=.006 color=screenC ink=nonebox bar x4 on=screen at=(.13, .04, .008) row=(.05, 0, 0) size=(.03, .06+i*.04, .006) round=.004 color=sel(i, lineA, lineB, lineA, lineB) ink=nonebox code x5 on=screen at=(-.13, .1, .008) row=(0, .055, 0) size=(.2-i*.02, .022, .006) round=.004 color=sel(i, lineB, lineA, white, lineB, lineA) ink=none// sticky notes on the framebox note x2 on=frame at=(.36, .26, .0) row=(0, -.09, 0) roll=8 size=(.07, .07, .012) round=.005 color=sel(i, sunflower, pink) ink=none// keyboard, mouse and an extrabox keys on=top at=(0, .05, D*.18) size=(.46, .025, .15) round=.012 bands=[.6:white] color=silverbox row x3 on=keys at=(0, .025, -.02) row=(0, 0, .04) size=(.4, .006, .025) round=.003 color=iron ink=noneball mouse on=top at=(.32, .05+.012, D*.2) r=(.035, .022, .05) color=white segs=10 rings=6cyl mug on=top at=(-W*.36, .05, D*.1) h=.11 r=.045 cap=walnut color=lineA segs=12 if=extra=="mug"torus handle on=mug at=(.05, .055, 0) rot=(90, 0, 0) R=.03 r=.009 color=mug.color segs=10 sides=5lathe pot on=top at=(-W*.36, .05, -D*.18) h=.12 r=.07 prof=[0:.75 1:1] color=terracotta segs=12 if=extra=="plant"puff fern on=pot at=(0, .16, 0) r=(.1, .09, .1) color=leafB segs=10 rings=7box papers x3 on=top at=(-W*.34, .05, -D*.12) chain=(0, .022, 0) rot=(0, 7, 0) size=(.3, .02, .22) round=.006 color=sel(i, white, cream, white) if=extra=="papers"// the office chair, rolled out to the right and turned toward the deskcyl hub at=(W/2+.34, .07, D/2-.08) h=.05 r=.06 color=iron segs=16rod spoke x5 on=hub ring ring0=18 at=(0, .03, 0) to=(.27, -.02, 0) r=.022 sides=6 color=ironball caster on=spoke at=end+(0, -.03, 0) r=.035 color=inkDark segs=10 rings=6cyl gas on=hub at=(0, .04, 0) h=.32 r=.028 color=silver segs=8box seat on=gas at=(0, .3, 0) yaw=-35 size=(.5, .09, .48) round=.04 bev=3 color=chairCbox backrest on=seat at=(0, .06, -.22) tilt=-8 size=(.46, .5, .08) round=.04 bev=3 color=chairCbox spine on=seat at=(0, -.02, -.22) size=(.08, .12, .05) round=.02 color=ironbox arm on=seat at=(.25, .09, -.02) mirror size=(.045, .1, .26) round=.02 color=iron
Clean: no issues on this seed.
Loading
seed
Shapes— / 100
Triangles— / 8,000
Draw calls— / 4