Playground
From thornhog · 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
43
44
45
46
47
48
49
50
51
asset thornhog "Thornhog" complexity=4// a chibi bramble hedgehog: a round mantle body on four stubby legs, a big pale face with// huge eyes, a pointed snout tipped with a fat berry nose, and rows of curved rose-thorn spikes// whose tips blush rose, with two little roses tucked in the bramble. Idle: sniff. Curl: tuck and roll.let S = .92..1.08let SP = .9..1.15// colourways: 0 bramble green, 1 autumn oak, 2 rare shiny lilac/goldlet SHN = chance(.08)let CW = (1-SHN)*int(0..1) + SHN*2let mantleC = sel(CW, leafB, oak, lilac)let thornC = sel(CW, leafDark, walnut, sky)let tipC = sel(CW, flowerRed, blossomPink, sunflower)let skinC = sel(CW, peach, cream, white)let noseC = sel(CW, berryBlue, berryRed, grape)let roseC = sel(CW, flowerPink, flowerRed, sunflower)let irisC = sel(CW, navy, walnut, grape)// body: the root bone on four stubby legsball body at=(0, .23*S, 0) r=(.21, .19, .23)*S color=mantleC under=skinC segs=20 rings=12 jointlimb leg x2 on=body row=(0, 0, .2*S) at=(.11*S, -.11*S, 0) mirror len=.09*S r=(.05, .045)*S bands=[.65:thornC] color=skinC segs=8 jointball tail on=body surf=(180, -5) lift=-.02*S r=.04*S color=mantleC segs=8 rings=5// head: big and pale, with a mantle hood behind the faceball head on=body at=(0, .05*S, .17*S) r=(.165, .15, .15)*S color=skinC segs=20 rings=12 jointball hood on=head surf=(180, 35) upright lift=-.1*S r=(.16, .14, .13)*S color=mantleC segs=14 rings=8cone snout on=head surf=(0, -14) lift=-.03*S h=.09*S r=.058*S r2=.026*S color=skinC segs=10 jointball nose on=snout at=end r=.034*S color=noseC ink=thin segs=10 rings=6 jointball ear on=head surf=(58, 42) mirror lift=-.015*S r=(.042, .046, .022)*S color=skinC segs=8 rings=5face look on=head eyes=round mouth=smile size=.25 spacing=29 eyeY=10 mouthY=-34 mouthW=.28 iris=irisC blush detail=.6// rose-thorn spikes: three rows over the back, curved, tips blushing rosecone spikeA x7 on=body surf=(90+i*30, 10) lift=-.025*S h=.11*S*SP r=.042*S bend=18 bands=[.55:tipC] color=thornC segs=7cone spikeB x6 on=body surf=(105+i*30, 40) lift=-.025*S h=.12*S*SP r=.044*S bend=18 bands=[.55:tipC] color=thornC segs=7cone spikeC x3 on=body surf=(140+i*40, 70) lift=-.025*S h=.12*S*SP r=.044*S bend=18 bands=[.55:tipC] color=thornC segs=7cone crest x3 on=hood surf=(140+i*40, 55) lift=-.02*S h=.09*S*SP r=.036*S bend=18 bands=[.55:tipC] color=thornC segs=7// little roses tucked in the brambleball rose on=body surf=(150, 55) mirror lift=-.01*S r=.045*S color=roseC ink=thin segs=10 rings=6ball bud on=body surf=(180, 28) lift=-.01*S r=.036*S color=roseC ink=thin segs=8 rings=5 if=chance(.6)// idle: sniff sniff, a breathing body, a curious nodanim idle: snout rx keys=[0:0 .12:-9 .24:0 .36:-9 .48:0 1:0] hz=.8anim idle: nose s sin amp=.12 hz=3anim idle: head nod amp=5 hz=.45anim idle: body breathe// curl: tuck the head and legs, then roll over into a spiky ball and holdanim curl: head rx keys=[0:0 .4:45 1:50] hz=1 onceanim curl: head pz keys=[0:0 .4:-.05 1:-.06] hz=1 onceanim curl: leg s keys=[0:0 .4:-.6 1:-.65] hz=1 onceanim curl: body rx keys=[0:0 .3:-10 .75:300 1:360] hz=.8 once
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4