Playground
From snail_van · 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
asset snail_van "Snail mail van" complexity=4// an original delivery van that is half snail: a low rounded body (the foot), a cab with a smile,// headlights and a windscreen, eyes on wobbly stalks, a spiral shell for the mail hold with a// letter slot and a little flag, and chunky wheelslet L = 2.8..3.2let W = 1.4..1.6let WR = .3..0.36let body = teal:2|cherry:2|cobalt|sunflower|mint|corallet trim = cream:3|whitelet shellC = terracotta:2|peach|honey|oak|lilaclet swirl = walnut:2|plum|redwood// the foot and the cabbox foot at=(0, WR*.45, 0) size=(W, .5, L) round=.2 bands=[.32:body] color=trim jointbox cab on=foot at=(0, .42, L*.24) size=(W*.94, .85, L*.5) round=.3 color=bodybox screen on=cab at=(0, .46, L*.25-.02) size=(W*.74, .3, .06) round=.06 color=glassDark surface=glassbox window on=cab at=(W*.47-.02, .46, .06) mirror size=(.06, .28, L*.3) round=.06 color=glassDark surface=glassface grin on=cab eyes=none mouth=smile mouthY=-24 mouthW=.55ball lamp on=cab at=(W*.3, .26, L*.25) mirror r=(.09, .09, .04) color=glow ink=glow segs=10 rings=6box bumper on=foot at=(0, 0, L*.5) size=(W*.86, .14, .14) round=.06 color=silver surface=metalbox rear on=foot at=(0, 0, -L*.5) size=(W*.86, .14, .14) round=.06 color=silver surface=metal// eyes on stalksrod stalk on=cab at=(.2, .8, .2) mirror to=(.1, .5, .12) r=(.05, .04) sides=8 color=body jointball eye on=stalk at=end r=.11 color=white segs=12 rings=8ball pupil on=eye surf=(0, 4) decal lift=-.025 r=(.05, .065, .03) color=inkDark ink=none segs=8 rings=5// the shell: a fat rounded disc with a raised spiral on each side, a letter slot and a flagcyl shell on=foot at=(-W*.4, 1.0, -L*.18) rot=(0, 0, -90) h=W*.8 r=.8 round=.26 cap=shellC color=shellC segs=28tube coil on=foot at=(W*.4+.012, 1.0, -L*.18) mirror pts=[0,.42,.21 0,.26,.37 0,.05,.42 0,-.15,.37 0,-.29,.24 0,-.34,.08 0,-.32,-.09 0,-.22,-.21 0,-.09,-.27 0,.05,-.26 0,.15,-.19 0,.19,-.09 0,.19,.01 0,.14,.09 0,.07,.12 0,0,.12 0,-.04,.08] r=(.055, .035) smooth sides=6 detail=.5 color=swirlbox slot on=shell surf=(215, 0) decal at=(0, -.21, 0) lift=-.03 size=(.1, .42, .07) round=.03 color=inkDarkslab letter on=slot at=(0, .21, .03) rot=(0, -90, 0) pts=[0,-.15 .2,-.15 .2,.15 0,.15] t=.015 color=white edge=cherry|cobaltrod flagpole on=foot at=(W*.44, .45, -L*.18-.5) to=(0, .9, 0) r=.022 sides=6 color=silver joint surface=metalbox flag on=flagpole at=(0, .64, -.17) rot=(0, 90, 0) size=(.34, .2, .03) round=.012 color=cherry surface=fabric// wheelswheel wheel x2 on=foot row=(0, 0, L*.62) at=(W*.47, WR*.55, 0) mirror r=WR w=.24 hub=trimanim stalk rz sin amp=7 hz=.6 twin=.5anim stalk rx sin amp=5 hz=.4 phase=.2anim foot py bounce amp=.015 hz=1.1// deliver: a state a game triggers; the flag swings down, the eyes glance backanim deliver: flagpole rx keys=[0:0 .6:88 .8:80 1:84] hz=1.2 onceanim deliver: stalk rx keys=[0:0 .3:-22 .7:-22 1:0] hz=.8 once
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4