Playground
From lantern_moth · 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
asset lantern_moth "Lantern moth" complexity=4 float// a chubby night moth that hangs about the lamps: a fuzzy round thorax with a fluffy collar, a big// head with wide open eyes and feathery antennae, a plump glowing abdomen in banded segments, and two// pairs of soft wings with eye spots. idle: a slow hover; fly: quick wingbeats and a bobbing dartlet S = .9..1.1let fuzz = cream:3|peach|lilaclet wingA = lilac:2|sky|peach|mintlet wingB = grape:2|cobalt|coral|teallet spotC = sunflower:2|pink|whitelet glowC = glow:3|lemon|aqua// the body hovers at lamp heightball thorax at=(0, 1.9*S, 0) r=(.15, .14, .16)*S color=fuzz segs=16 rings=10 jointpuff collar on=thorax at=(0, .02*S, .08*S) r=(.16, .1, .1)*S color=fuzz*1.04 noise=.18 segs=12 rings=6ball belly on=thorax at=(0, -.06*S, -.2*S) rot=(-20, 0, 0) r=(.13, .12, .2)*S bands=[.45:glowC .55:fuzz .62:glowC] color=glowC ink=glow segs=14 rings=9 jointball stinger on=belly at=(0, -.04*S, -.18*S) r=.06*S color=glowC ink=glow segs=8 rings=5// the head and its faceball head on=thorax at=(0, .08*S, .17*S) r=(.14, .13, .12)*S color=fuzz segs=16 rings=10face look on=head eyes=round mouth=smile size=.32 spacing=34 eyeY=10 mouthY=-30 mouthW=.24 detail=.6tube antenna on=head at=(.05*S, .1*S, .03*S) mirror pts=[0,0,0 .04,.1,.03 .1,.18,.02 .17,.21,-.02] r=(.02, .016) smooth sides=4 scale=S color=wingBpuff plume on=antenna at=(.17*S, .21*S, -.02*S) mirror r=(.05, .04, .03)*S color=wingB noise=.15 segs=8 rings=5// the wings: a big forewing and a small hindwing each side, an eye spot on eachslab wing on=thorax at=(.08*S, .05*S, .02*S) mirror rot=(-80, 0, 0) pts=[0,.04 .22,.22 .46,.24 .58,.1 .5,-.08 .26,-.12 0,-.04] t=.025 round=.01 scale=S color=wingA edge=wingB jointball spot on=wing at=(.36*S, .08*S, .02*S) r=(.06, .06, .02)*S color=spotC segs=8 rings=5slab hind on=thorax at=(.07*S, .02*S, -.08*S) mirror rot=(-80, -18, 0) pts=[0,.02 .16,.05 .32,-.04 .28,-.18 .12,-.18 0,-.06] t=.022 round=.01 scale=S color=wingB edge=wingA joint// tiny legs tucked underlimb leg x2 on=thorax at=(.06*S, -.1*S, .04*S) row=(0, 0, -.08*S) mirror roll=20 len=.1*S r=(.022, .018) color=wingB segs=6// idle: a lazy hover, slow wings, the lantern breathinganim idle: wing rz sin amp=22 hz=1.4anim idle: hind rz sin amp=18 hz=1.4 phase=.08anim idle: thorax py sin amp=.06 hz=.5anim idle: belly s sin amp=.06 hz=.7// fly: quick wingbeats, a bobbing dartanim fly: wing rz sin amp=40 hz=4.5anim fly: hind rz sin amp=34 hz=4.5 phase=.08anim fly: thorax py sin amp=.1 hz=1.6anim fly: thorax rx sin amp=6 hz=1.6 phase=.25
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4