Playground
From roomba_bot · 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
asset roomba_bot "Robot vacuum" complexity=3// a round robot vacuum with a personality: a low puck body with a rubber bumper band, a glossy domed// lid with a happy face on its front, a little antenna with a glowing tip, two side brushes that spin// and a dust bin stripe on the back; idle it hums and its light pulses, move makes it scurrylet S = 1.1..1.2let shellC = white:3|mint|coral|sunflower|skylet bumpC = iron:2|inkDark|cobaltlet tipC = glow:2|lime|aqua// the puck and its lidcyl puck at=(0, .015, 0) h=.08*S r=.19*S round=.03 bands=[.4:shellC] color=bumpC segs=32 jointball lid on=puck at=(0, .075*S, 0) r=(.16, .075, .16)*S half color=shellC*1.05 segs=28 rings=10face look on=lid eyes=round mouth=smile eyeY=22 mouthY=4 size=.42 spacing=26 mouthW=.5 detail=.6box bin on=puck at=(0, .03*S, -.17*S) size=(.16, .045, .04)*S round=.015 color=tipC*.7// the antennarod antenna on=lid at=(-.05*S, .06*S, -.05*S) to=(-.02, .12, -.03)*S r=.008 sides=5 color=bumpCball tip on=antenna at=end r=.022*S color=tipC ink=glow segs=8 rings=5 joint// side brushes under the front edgecyl hub x2 on=puck at=(.12*S, -.005, .11*S) row=(-.24*S, 0, 0) h=.012 r=.02 color=bumpC segs=8 jointbox bristle x3 on=hub ring at=(.05, .006+i*.003, 0) size=(.07, .01, .015) round=.004 color=sunflower// wheels peeking out of the sideswheel wheel at=(.18*S, .035, 0) mirror r=.035*S w=.03 hub=bumpC tyre=inkDark// idle: hum and a pulsing tip; move: scurryanim tip s sin amp=.3 hz=.8anim puck py sin amp=.004 hz=2.2anim hub ry spin hz=.6anim move: hub ry spin hz=4anim move: puck rz sin amp=2 hz=3anim move: puck py bounce amp=.008 hz=6
Clean: no issues on this seed.
Loading
seed
Shapes— / 45
Triangles— / 4,500
Draw calls— / 3