
Loading
seed
19 statesS spinI inkG seeds[] versions
How v4 was made
Hand-writtenWritten by hand in .cel.
- Script
- 48 lines
Budget
c7 · 48 linesShapes191 / 200
Triangles14,170 / 15,000
Draw calls3 / 5
- States
- None: it rests
- Used in
- Moonlight Carnival as carousel
- Made
1asset carousel "Carousel" complexity=72// an original fairground carousel: a turning deck on a plinth, a striped centre drum, a ring of3// prancing horses on brass poles that rise and fall in turn, a scalloped striped canopy with a4// fringe of drops and bulbs, a spire and a pennant5let R = 2.1..2.56let PH = 2.1..2.47let NH = int(5..7.4)8let stA = cherry:3|cobalt|teal|grape|bottle9let stB = white:3|cream|sunflower10let deckC = cream:2|white|peach11let metal = brass:3|silver1213// the plinth and the turning deck14cyl plinth h=.16 r=R+.14 round=.04 color=warmstone segs=28 surface=stone15cyl deck on=plinth at=(0, .16, 0) h=.12 r=R round=.03 bands=[.55:deckC] color=stA segs=28 joint surface=planks16cyl drum on=deck at=(0, .12, 0) h=PH r=.42 stripes=[stA stB] panels=8 color=stA segs=1617cyl drumcap on=drum at=(0, PH*.82, 0) h=.08 r=.5 color=metal segs=16 surface=metal1819// the canopy: a striped band with drops and bulbs, a scalloped roof, a spire with a pennant20cyl band on=drum at=(0, PH, 0) h=.34 r=R+.18 stripes=[stB stA] panels=2*NH*2 cap=stB color=stB segs=3621ball drop x=2*NH*2 on=band ring at=(R+.16, 0, 0) r=(.05, .13, R*.12) color=sel(i - 2*floor(i/2), stA, stB) segs=6 rings=422ball bulb x=2*NH on=band ring ring0=180/(2*NH) at=(R+.19, .17, 0) r=.035 color=glow ink=glow segs=6 rings=423cone roof on=band at=(0, .34, 0) h=1.1 r=R+.32 r2=.08 stripes=[stA stB] panels=2*NH*2 scallop=.07 color=stA segs=40 surface=fabric24cyl spire on=roof at=(0, 1.05, 0) h=.32 r=.045 color=metal segs=8 surface=metal25ball knob on=spire at=end r=.08 color=metal segs=10 rings=6 surface=metal26slab pennant on=spire at=(.04, .14, 0) pts=[0,0 .5,.09 0,.18] t=.02 color=stB edge=stA surface=fabric2728// the horses, one per pole29rod pole x=NH on=deck ring at=(R*.72, .12, 0) to=(0, PH, 0) r=.035 sides=8 color=metal surface=metal30ball horse x=NH on=deck ring at=(R*.72, 1.05, 0) rot=(0, 180, 0) r=(.17, .2, .38) color=white:3|cream|sky|pink|lilac|mint|sunflower|walnut:.6 segs=14 rings=9 joint31limb neck on=horse at=(0, .48, .4) rot=(25, 0, 0) len=.38 r=(.075, .105) color=parent.color segs=832ball head on=horse at=(0, .52, .52) rot=(24, 0, 0) r=(.09, .1, .19) color=parent.color segs=12 rings=733face look on=head eyes=dot mouth=none size=.24 spacing=62 eyeY=16 detail=.534cone ear on=head at=(0, .08, -.08) mirror rot=(-12, 0, -14) h=.09 r=.035 color=parent.color segs=535tube mane on=horse pts=[0,.62,.36 0,.48,.28 0,.33,.2 0,.2,.12] r=(.06, .045) smooth color=sel(parent.i, sunflower, cherry, cobalt, grape, lime, pink, teal, tangerine) sides=6 detail=.536tube tail on=horse at=(0, .08, -.36) pts=[0,0,0 0,-.02,-.14 0,-.2,-.24 0,-.34,-.22] r=(.06, .025) smooth color=sel(parent.i, sunflower, cherry, cobalt, grape, lime, pink, teal, tangerine) sides=6 detail=.537ball saddle on=horse at=(0, .12, -.03) r=(.2, .1, .17) half color=sel(parent.i, cobalt, teal, cherry, sunflower, grape, cherry, cobalt, teal) segs=12 rings=438rod fleg on=horse at=(.08, -.06, .24) mirror to=(0, -.18, .26) r=(.045, .035) sides=6 color=parent.color39rod fshin on=fleg at=end to=(0, -.2, -.04) r=(.035, .03) sides=6 color=parent.color40rod bleg on=horse at=(.08, -.1, -.24) mirror to=(0, -.38, -.16) r=(.05, .035) sides=6 color=parent.color41ball hoof on=fshin at=end r=.04 color=metal segs=5 rings=3 surface=metal42ball bhoof on=bleg at=end r=.04 color=metal segs=5 rings=3 surface=metal4344// a rider astride every saddle, facing the head: they rise and fall with the horse45spot rider on=horse at=(0, .2, -.04) use=saddle4647anim deck ry spin hz=.0548anim horse py sin amp=.12 hz=.4 stagger=.3749