Playground
From wall_clock · 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
asset wall_clock "Wall clock" complexity=2// a round office wall clock: a fat coloured rim, a cream face with twelve hour marks (the quarters// bigger), an hour hand, a minute hand and a red second hand that sweep round, a centre cap; the back// is flat at z = 0, hang it on a wall with liftlet rimC = cherry:2|cobalt:2|sunflower|teal|iron|walnutlet faceC = cream:2|whitelet handC = inkDark:3|navy// rim and face, standing up on their edgetorus rim at=(0, .26, .05) rot=(90, 0, 0) R=.22 r=.045 color=rimC segs=40 sides=10cyl face at=(0, .26, 0) rot=(90, 0, 0) h=.06 r=.225 color=faceC segs=36box mark x12 on=face ring at=(.18, .06, 0) size=(sel(i, .05, .028, .028, .05, .028, .028, .05, .028, .028, .05, .028, .028), .01, .022) round=.006 color=handC ink=none// the hands ride a pin whose axis points into the wall, so a forward spin turns them clockwisecyl pin on=face at=(0, .1, 0) rot=(180, 0, 0) h=.03 r=.012 color=handC segs=8cyl hourhub on=pin at=(0, -.026, 0) yaw=-130 h=.004 r=.018 color=handC segs=10 jointbox hourhand on=hourhub at=(0, -.006, .05) size=(.024, .006, .12) round=.008 color=handC ink=nonecyl minhub on=pin at=(0, -.034, 0) yaw=-250 h=.004 r=.016 color=handC segs=10 jointbox minhand on=minhub at=(0, -.006, .075) size=(.016, .006, .16) round=.006 color=handC ink=nonecyl sechub on=pin at=(0, -.042, 0) yaw=-60 h=.004 r=.012 color=cherry segs=10 jointbox sechand on=sechub at=(0, -.006, .06) size=(.008, .006, .19) round=.003 color=cherry ink=noneball cap on=pin at=(0, -.05, 0) r=.018 color=cherry segs=8 rings=5anim hourhub ry spin hz=.002anim minhub ry spin hz=.02anim sechub ry spin hz=.1
Clean: no issues on this seed.
Loading
seed
Shapes— / 30
Triangles— / 3,200
Draw calls— / 2