Playground
From cotton_candy_cart · 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
asset cotton_candy_cart "Cotton candy cart" complexity=4// a candy-striped cart on two big wheels: a brass spinning drum on top whirling a pink cloud of// floss, a rack of finished cones, a push handle, and a scalloped parasol with a bulb on each riblet L = 1.4..1.55let stA = pink:3|bubblegum|lilaclet stB = white:3|creamlet trim = cobalt:2|teal|grapelet flossA = pink:3|bubblegumlet flossB = sky:2|lilac|lemonlet metal = silver:2|brasslet bulbC = glow:3|sunflower// the cart body on its wheels, a front leg and the push handlebox body at=(0, .42, 0) size=(L, .78, .82) round=.08 stripes=[stA stB] panels=8 bands=[.88:trim] color=stAbox top on=body at=(0, .78, 0) size=(L+.1, .08, .92) round=.03 color=trimwheel wheel at=(.48, .36, -.22) mirror r=.36 w=.12 hub=stB tyre=trimcyl leg on=body at=(0, -.42, .3) h=.42 r=.05 color=metal segs=8rod handle on=body at=(-L/2+.04, .62, 0) rot=(0, 0, 18) to=(-.42, 0, 0) r=.035 sides=6 color=metalrod grip on=handle at=end+(0, 0, -.32) to=(0, 0, .64) r=.045 sides=8 color=trim// the spinning drum and its cloud of flosslathe drum on=top at=(.12, .08, 0) h=.3 r=.34 prof=[0:.45 .3:.9 1:1] open=top color=metal segs=20 rings=5torus lip on=drum at=(0, .3, 0) R=.34 r=.03 color=metal segs=20 sides=5puff floss on=drum at=(0, .36, 0) r=(.42, .28, .42) color=flossA noise=.16 segs=14 rings=8 jointpuff wisp x5 on=floss ring=12 at=(.26, .1, 0) r=.15 color=flossA noise=.14 segs=8 rings=5// a rack of finished conesbox rack on=top at=(-.45, .08, 0) size=(.32, .1, .6) round=.03 color=trimcone stick x3 on=rack at=(0, .1, 0) row=(0, 0, .2) h=.36 r=.03 r2=.015 color=stB segs=6puff candy on=stick at=(0, .42, 0) r=(.12, .15, .12) color=sel(parent.i, flossA, flossB, flossA) noise=.1 segs=10 rings=6// the parasolrod pole on=top at=(-.1, .08, -.36) to=(0, 1.55, 0) r=.035 sides=6 color=metalcone brolly on=pole at=end+(0, -.08, 0) h=.42 r=.95 r2=.04 stripes=[stA stB] panels=8 scallop=.04 color=stA segs=32ball tip x8 on=brolly ring ring0=22.5 at=(.93, -.02, 0) r=.06 color=bulbC ink=glow segs=8 rings=5ball knob on=brolly at=(0, .42, 0) r=.06 color=metal segs=8 rings=5// the drum whirls and the floss grows and settlesanim floss ry spin hz=.6anim floss s sin amp=.06 hz=.4
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4