
Loading
seed
19 statesS spinI inkG seeds
Petalpuff
petalpuff v1Made by APIc4
Budget
c4 · 51 linesShapes28 / 70
Triangles5,866 / 6,000
Draw calls3 / 4
- States
- idle · spin
- Used in
- Mossbrook Town as puff
- Made
1asset petalpuff "Petalpuff" complexity=42// a round bloom blob: a plump flower-heart body with a big face, a double ruff of petals fanned3// behind it like a sunflower, stubby legs on leaf feet, leaf hands and a sprout on top.4// Three colourways: sunny cream/coral, lemon/sky, and a rare shiny white/grape with teal leaves.5// States: idle (petals sway, body breathes) and spin (a hopping twirl with sparkles).6let S = .92..1.087let cwRoll = 0..18let cw = min(2, floor(cwRoll*2.2))9let bodyC = sel(cw, cream, lemon, white)10let petalC = sel(cw, coral, sky, grape)11let petal2C = sel(cw, peach, aqua, lilac)12let leafCol = sel(cw, leafB, leafA, teal)13let ruffN = int(9..11)1415// body: the bloom heart, root bone16ball body at=(0, .35*S, 0) r=(.22, .21, .2)*S color=bodyC under=bodyC*.92 segs=22 rings=14 joint1718// the petal ruff: a hidden hub turned to face forward, two rings of petals fanned round it19ball hub on=body at=(0, 0, -.08*S) rot=(90, 0, 0) r=(.15, .04, .15)*S color=petalC*.85 segs=12 rings=620limb petal x=ruffN on=hub ring ring0=0 at=(.12*S, 0, 0) rot=(0, 0, 90) scale=(.5, 1, 1) len=.14*S r=(.065, .075)*S color=petalC segs=8 joint21limb inner x6 on=hub ring ring0=30 at=(.1*S, .025*S, 0) rot=(0, 0, 90) scale=(.5, 1, 1) len=.1*S r=(.055, .062)*S color=petal2C segs=8 joint2223// stubby legs on leaf feet24limb leg on=body at=(.09*S, -.17*S, .05*S) mirror len=.12*S r=(.055, .05)*S color=leafCol segs=10 joint25ball foot on=leg at=end+(0, -.025*S, .04*S) r=(.075, .035, .11)*S color=leafCol segs=10 rings=62627// leaf hands28ball hand on=body surf=(72, -18) lift=-.03*S mirror r=(.04, .085, .03)*S color=leafCol segs=10 rings=6 joint2930// a sprout on top31cyl sprout on=body at=top-(0, .02*S, 0) h=.07*S r=.02*S color=leafCol segs=832ball sprig on=sprout at=(.04*S, .07*S, 0) roll=-55 mirror r=(.055, .022, .032)*S color=leafCol segs=8 rings=53334// face: big readable eyes35face look on=body eyes=round mouth=smile size=.32 spacing=26 eyeY=10 mouthY=-20 mouthW=.3 blush detail=.63637// spin sparkles38fx spin: sparkle on=body at=(0, .1*S, 0) spread=.4 n=83940// idle: petals sway in a wave, breathing, little hand waves41anim idle: petal rz sin amp=10 hz=.6 stagger=.142anim idle: inner rz sin amp=8 hz=.6 stagger=.15 phase=.343anim idle: body breathe44anim idle: hand rz sin amp=12 hz=.5 twin=.545// spin: a hopping twirl, petals flared, arms out46anim spin: body ry spin hz=1.247anim spin: body py bounce amp=.05 hz=2.448anim spin: petal rz sin amp=18 hz=2.4 stagger=.149anim spin: inner rz sin amp=14 hz=2.4 stagger=.150anim spin: hand rz keys=[0:0 .3:50 .7:50 1:0] hz=1.251anim spin: leg rx sin amp=15 hz=2.4 twin=.552