Playground
From crypt_ghost · 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 crypt_ghost "Crypt ghost" complexity=4 float// a little lost soul of the graveyard: a glowing teardrop ghost with a curling wisp of a tail, stubby// arms, a sad round "oooh" face and stubby arms. Seeds give// it a dented helmet, a tiny crown or a candle. It hovers and bobs, its tail curling; on fly it leans// into the drift with its arms streaming back.let S = .9..1.1let ghostC = mint:2|aqua|lavender|whitelet hat = int(0..2)// the glowing body and its wisp taillathe body at=(0, .5, 0)*S h=.66*S r=.3*S prof=[0:.25 .2:.55 .45:.88 .65:1 .82:.92 .94:.6 1:0] color=ghostC ink=glow segs=26 rings=16 jointcone wisp on=body at=(0, .04, 0)*S rot=(170, 0, 0) h=.4*S r=.09*S bend=60 color=ghostC ink=glow segs=10 jointcone wisp2 on=wisp at=(.04, .1, 0)*S rot=(0, 0, 30) h=.2*S r=.08*S bend=-50 color=ghostC ink=glow segs=8ball mote x3 on=wisp at=(.05, .36, 0)*S chain=(.04, .05, 0)*S r=.035*S scale=.8 color=ghostC ink=glow segs=8 rings=6// the faceface look on=body eyes=round mouth=open size=.3 spacing=24 eyeY=12 mouthY=-12 mouthW=.25 iris=navy detail=.8// stubby armslimb arm on=body at=(.26, .3, 0)*S mirror rot=(0, 0, -60) len=.2*S r=(.07, .04)*S color=ghostC ink=glow segs=10 jointball hand on=arm at=end r=.05*S color=ghostC ink=glow segs=10 rings=6// a hat by seed: dented helmet, a tiny crown, or a candle stuck on topball helm on=body at=(0, .5, 0)*S r=(.17, .12, .17)*S half color=iron segs=12 rings=5 if=hat==0cone plume on=helm at=(0, .1, -.02)*S rot=(-30, 0, 0) h=.18*S r=.04*S bend=-40 color=tomato segs=6cyl crown on=body at=(0, .52, 0)*S rot=(-8, 0, 12) h=.08*S r=.08*S color=sunflower panels=5 open=top segs=10 if=hat==1cone cSpike x5 on=crown ring at=(.08*S, .08*S, 0) h=.05*S r=.02*S color=sunflower segs=4cyl candle on=body at=(.06, .5, 0)*S rot=(0, 0, -12) h=.14*S r=.03*S color=cream segs=8 if=hat==2ball flame on=candle at=(0, .2, 0)*S r=(.025, .05, .025)*S color=sunflower ink=glow segs=6 rings=4fx sparkle on=body at=(0, .1, 0) n=4 spread=.35 hz=.5// idle: hover and bob, sway, the tail curls, the arms waveanim body py sin amp=.08 hz=.4anim body rz sin amp=6 hz=.3anim wisp rz sin amp=18 hz=.6anim arm rz sin amp=14 hz=.55// fly: lean into the drift, arms stream back, the tail whipsanim fly: body rx keys=[0:16 .5:22 1:16] hz=.8anim fly: arm rx keys=[0:-40 .5:-30 1:-40] hz=.9anim fly: wisp rx sin amp=20 hz=1.2
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4