Playground
From hoard_dragon · 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
asset hoard_dragon "Hoard hatchling" complexity=6// the crypt's newest dragon: a chubby hatchling curled asleep on a mound of gold, chin on its forepaws,// wings folded, tail wrapped round the heap. It snores little smoke rings, its tail tip twitches and one// eye cracks open now and then. On wake it lifts its head, opens both eyes, spreads its wings and// swishes its tail, puffing.let scaleC = teal:2|tomato|grape|mosslet bellyC = cream:2|sunflower|birchlet hornC = cream:2|birch|rockGreylet goldC = sunflowerlet gemC = cherry|cobalt|mint|aqua// the gold mound and its coinsball heap r=(1.05, .42, .9) half color=goldC noise=.03 segs=26 rings=10cyl coin x16 on=heap surf=(i*23+10, 8+i*3) lift=-.01 rot=(0, 0, 8) h=.025 r=.075 color=marigold cap=sunflower segs=10cyl stack x5 on=heap at=(.75, .12, .3) chain=(.004, .026, 0) h=.024 r=.08 color=sunflower cap=marigold segs=10ball gem x3 on=heap surf=(i*110+60, 30) lift=-.03 r=(.07, .06, .07) color=gemC panels=5 segs=6 rings=4lathe cup on=heap at=(-.7, .1, .35) rot=(0, 0, 75) h=.3 r=.09 prof=[0:.9 .08:.9 .12:.25 .5:.22 .58:.6 .8:1 1:1.05] color=brass segs=12 rings=8// the round body, belly and back spinesball body on=heap at=(0, .62, -.05) r=(.44, .34, .52) color=scaleC segs=22 rings=16 jointball belly on=body surf=(0, -55) lift=-.16 r=(.3, .18, .36) color=bellyC bands=[.3:bellyC*.88 .34:bellyC .6:bellyC*.88 .64:bellyC] segs=16 rings=10cone spine x5 on=body surf=(sel(i, 0, 0, 0, 180, 180), sel(i, 50, 70, 90, 70, 50)) lift=-.02 h=.14 r=.06 color=hornC segs=5// haunches, back feet and forepaws with clawsball haunch on=body at=(.32, -.14, -.22) mirror r=(.16, .2, .24) color=scaleC segs=12 rings=8ball hindFoot on=haunch at=(.02, -.18, .12) r=(.1, .06, .14) color=scaleC segs=10 rings=6ball paw on=body at=(.18, -.24, .5) mirror r=(.11, .08, .15) color=scaleC segs=10 rings=6cone claw x3 on=paw at=(0, -.02, .13) row=(.045, 0, 0) rot=(80, 0, 0) h=.06 r=.02 color=hornC segs=4// neck, head, snout, eyes with lids, hornsball neck on=body at=(0, -.02, .4) r=(.2, .19, .24) color=scaleC segs=14 rings=10 jointball head on=neck at=(0, -.04, .34) r=(.34, .28, .32) color=scaleC segs=18 rings=12 jointball snout on=head at=(0, -.1, .25) r=(.2, .14, .18) color=scaleC*1.06 segs=14 rings=9ball nostril on=snout at=(.06, .05, .14) mirror r=(.025, .02, .02) color=inkDark segs=6 rings=4ball eye on=head at=(.15, .07, .24) mirror r=(.09, .095, .065) color=white segs=12 rings=8ball pupil on=eye at=(0, -.005, .045) r=(.035, .055, .02) color=inkDark segs=8 rings=5ball shine on=pupil at=(.012, .02, .012) r=.012 color=white segs=5 rings=3ball lid on=eye at=(0, 0, .004) r=(.1, .104, .071) color=scaleC*.9 segs=12 rings=8 jointtorus lash on=lid at=(0, -.01, .06) rot=(80, 0, 0) R=.066 r=.012 arc=140 color=inkDark segs=10 sides=4cone horn on=head at=(.16, .17, -.14) mirror rot=(-65, 0, -15) h=.22 r=.05 bend=-25 color=hornC segs=6cone fin on=head at=(.29, .03, -.08) mirror rot=(0, 0, -80) h=.14 r=.06 scale=(1, 1, .35) color=scaleC*1.2 segs=6cone fang on=snout at=(.08, -.1, .1) mirror rot=(180, 0, 0) h=.045 r=.018 color=white segs=4// folded wingsslab wing on=body at=(.2, .26, .05) mirror rot=(-90, -40, 0) pts=[0,0 .4,.04 .35,.18 .26,.15 .23,.32 .14,.27 .08,.44 0,.38] t=.04 round=.015 color=scaleC*1.25 edge=scaleC*.8 joint// the tail wrapped round the heap, a spade on its tiptube tail on=body at=(-.1, -.15, -.45) pts=[0, 0, 0 -.35, -.08, -.25 -.7, -.12, -.05 -.78, -.14, .35 -.6, -.15, .7] r=(.15, .045) smooth sides=8 color=scaleC jointcone spade on=tail at=end rot=(0, 30, 0) h=.16 r=.1 scale=(1, .35, 1) color=hornC segs=4fx smoke on=snout at=(0, .06, .15) n=3 spread=.15 hz=.4 size=.035 grow=1.6fx wake: puff on=snout at=(0, .04, .2) n=5 spread=.3 hz=1.6// asleep: slow breaths, a snoring nod, the tail tip twitches, one lid cracks open now and thenanim body s sin amp=.035 hz=.3anim head rx sin amp=3 hz=.3anim tail ry sin amp=5 hz=.4anim lid py keys=[0:0 .7:0 .75:.035 .85:.035 .9:0 1:0] hz=.15// wake: head up, eyes wide, wings out, tail swishinganim wake: neck rx keys=[0:0 .2:-35 .8:-35 1:0] hz=.25anim wake: head rx keys=[0:0 .2:15 .8:15 1:0] hz=.25anim wake: lid py keys=[0:0 .15:.08 .85:.08 1:0] hz=.25anim wake: wing rz keys=[0:0 .25:70 .35:45 .45:70 .55:45 .8:60 1:0] hz=.25anim wake: tail ry sin amp=22 hz=1.2
Clean: no issues on this seed.
Loading
seed
Shapes— / 140
Triangles— / 10,000
Draw calls— / 5