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 
 
 
 
e6c76da
 
 
 
6859477
10656db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6859477
 
 
 
 
 
 
794b22f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10656db
794b22f
 
 
10656db
794b22f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e6c76da
 
 
 
6859477
10656db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6859477
 
 
 
 
 
 
794b22f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0c4637f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
794b22f
 
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
{
  "presets": [
    {
      "name": "grain",
      "doc": "fine film grain, neutral on any colour"
    },
    {
      "name": "noise",
      "doc": "coarser static"
    },
    {
      "name": "rough",
      "doc": "gritty relief, like a rough cast wall"
    },
    {
      "name": "sand",
      "doc": "warm fine sand grains"
    },
    {
      "name": "paper",
      "doc": "soft paper fibre with a little unevenness"
    },
    {
      "name": "cloud",
      "doc": "big soft cloudy variation"
    },
    {
      "name": "concrete",
      "doc": "pitted concrete"
    },
    {
      "name": "stone",
      "doc": "carved stone with broad relief"
    },
    {
      "name": "crumpled",
      "doc": "crumpled foil or paper, big creases"
    },
    {
      "name": "glitter",
      "doc": "sparse bright sparkles"
    },
    {
      "name": "frost",
      "doc": "fine icy crystals"
    },
    {
      "name": "marble",
      "doc": "veined marble"
    },
    {
      "name": "wood",
      "doc": "long wood grain, along x (use angle 90 for vertical)"
    },
    {
      "name": "oak",
      "doc": "oak: open grain, tan with brown rings"
    },
    {
      "name": "walnut",
      "doc": "walnut: dark chocolate with black-brown rings"
    },
    {
      "name": "cherry",
      "doc": "cherry: warm red-brown with fine rings"
    },
    {
      "name": "maple",
      "doc": "maple: pale, tight, nearly plain grain"
    },
    {
      "name": "pine",
      "doc": "pine: light yellow wood with wide rings and knots"
    },
    {
      "name": "mahogany",
      "doc": "mahogany: deep red-brown, straight grain"
    },
    {
      "name": "ebony",
      "doc": "ebony: nearly black with faint streaks"
    },
    {
      "name": "birch",
      "doc": "birch: creamy pale wood with fine rings"
    },
    {
      "name": "oak-planks",
      "doc": "oak laid as planks, with seams"
    },
    {
      "name": "walnut-planks",
      "doc": "walnut laid as planks, with seams"
    },
    {
      "name": "bark",
      "doc": "rough vertical bark"
    },
    {
      "name": "leather",
      "doc": "pebbled leather"
    },
    {
      "name": "brushed",
      "doc": "brushed metal, fine lines along x"
    },
    {
      "name": "canvas",
      "doc": "artist canvas weave"
    },
    {
      "name": "linen",
      "doc": "loose linen weave with slubs"
    },
    {
      "name": "denim",
      "doc": "diagonal twill, blue by default"
    },
    {
      "name": "carbon",
      "doc": "carbon fibre twill"
    },
    {
      "name": "scanlines",
      "doc": "CRT scanlines"
    },
    {
      "name": "halftone",
      "doc": "newsprint dots"
    },
    {
      "name": "dots",
      "doc": "a plain dot grid"
    },
    {
      "name": "lines",
      "doc": "diagonal hairlines"
    },
    {
      "name": "grid",
      "doc": "a square grid, like graph paper"
    },
    {
      "name": "checker",
      "doc": "checkerboard"
    },
    {
      "name": "crosshatch",
      "doc": "crossed hairlines"
    },
    {
      "name": "stripes",
      "doc": "bold diagonal stripes"
    },
    {
      "name": "waves",
      "doc": "soft repeating waves"
    },
    {
      "name": "hex",
      "doc": "honeycomb"
    },
    {
      "name": "bricks",
      "doc": "a red brick wall, light mortar"
    },
    {
      "name": "bricks-old",
      "doc": "weathered dark brick"
    },
    {
      "name": "herringbone",
      "doc": "parquet laid in a zigzag, every board a slightly different shade"
    },
    {
      "name": "plaid",
      "doc": "simple plaid: wide bands crossing, thin lines between"
    },
    {
      "name": "tartan",
      "doc": "a red tartan with green and navy bands"
    },
    {
      "name": "gingham",
      "doc": "small checks, the picnic cloth"
    },
    {
      "name": "scales",
      "doc": "overlapping scales"
    },
    {
      "name": "mermaid",
      "doc": "teal fish scales"
    },
    {
      "name": "shingles",
      "doc": "roof shingles"
    },
    {
      "name": "chevron",
      "doc": "zigzag bands"
    },
    {
      "name": "argyle",
      "doc": "a diamond lattice, filled"
    },
    {
      "name": "lowpoly",
      "doc": "low-poly facets in two tones"
    },
    {
      "name": "tiles",
      "doc": "square tiles with grout"
    },
    {
      "name": "blueprint",
      "doc": "drafting grid, fine and coarse"
    },
    {
      "name": "granite",
      "doc": "speckled granite"
    },
    {
      "name": "slate",
      "doc": "layered slate"
    },
    {
      "name": "sandstone",
      "doc": "banded sandstone"
    },
    {
      "name": "terrazzo",
      "doc": "chips of stone in cement"
    },
    {
      "name": "confetti",
      "doc": "bright scraps scattered, flat"
    },
    {
      "name": "rust",
      "doc": "rusted metal"
    },
    {
      "name": "corrugated",
      "doc": "corrugated metal sheet"
    },
    {
      "name": "cork",
      "doc": "cork board"
    },
    {
      "name": "kraft",
      "doc": "brown packing paper"
    },
    {
      "name": "felt",
      "doc": "soft wool felt"
    },
    {
      "name": "burlap",
      "doc": "coarse sacking"
    },
    {
      "name": "stucco",
      "doc": "rough plaster"
    },
    {
      "name": "starfield",
      "doc": "a night sky of small and large stars"
    },
    {
      "name": "snow",
      "doc": "fresh snow with a few sparkles"
    },
    {
      "name": "grass",
      "doc": "blades of grass seen from above"
    },
    {
      "name": "water",
      "doc": "water with light ripples"
    },
    {
      "name": "rain",
      "doc": "slanted rain streaks"
    },
    {
      "name": "lava",
      "doc": "glowing cracks in dark rock"
    },
    {
      "name": "topo",
      "doc": "contour lines, like a map"
    }
  ],
  "generators": [
    "noise",
    "bump",
    "lines",
    "dots",
    "grid",
    "checker",
    "weave",
    "carbon",
    "waves",
    "hex",
    "rings",
    "bricks",
    "herringbone",
    "plaid",
    "scales",
    "chevron",
    "diamonds",
    "triangles",
    "starfield",
    "terrazzo"
  ],
  "textureKeys": [
    {
      "key": "scale",
      "doc": "feature size in px: how big the grains, cells or lines are",
      "words": 1
    },
    {
      "key": "intensity",
      "doc": "how strong the layer is, 0 to 1 (more than 1 over-drives it)",
      "words": 1
    },
    {
      "key": "contrast",
      "doc": "noise contrast: 1 is as generated, higher is harsher",
      "words": 1
    },
    {
      "key": "threshold",
      "doc": "noise cut-off: only values above it show (glitter uses a high one)",
      "words": 1
    },
    {
      "key": "contour",
      "doc": "draw thin lines where the noise crosses the threshold, instead of a plain cut: veins, rings, contours",
      "words": 1
    },
    {
      "key": "octaves",
      "doc": "noise detail layers, 1 is smooth, 5 is rough",
      "words": 1
    },
    {
      "key": "seed",
      "doc": "a different random pattern with the same look",
      "words": 1
    },
    {
      "key": "stretch",
      "doc": "stretch noise features along x and y, e.g. stretch 40 1 for wood grain",
      "words": 2
    },
    {
      "key": "depth",
      "doc": "bump height: how deep the relief looks",
      "words": 1
    },
    {
      "key": "light",
      "doc": "bump light direction in degrees",
      "words": 1
    },
    {
      "key": "angle",
      "doc": "direction of lines and patterns, in degrees",
      "words": 1
    },
    {
      "key": "thickness",
      "doc": "line or grid-line width in px",
      "words": 1
    },
    {
      "key": "radius",
      "doc": "dot size as a fraction of the cell (plaid: how wide the bands are as a fraction of the repeat)",
      "words": 1
    },
    {
      "key": "softness",
      "doc": "how soft the edges of dots and lines are",
      "words": 1
    },
    {
      "key": "animate",
      "doc": "milliseconds per shimmer step (film-grain flicker); 0 is still",
      "words": 1
    },
    {
      "key": "type",
      "doc": "noise flavour: fractal is clouds, turbulence is veins",
      "words": 1
    },
    {
      "key": "blend",
      "doc": "how the layer mixes with what is under it",
      "words": 1
    },
    {
      "key": "color",
      "doc": "the main colour (dark end of noise, ink of lines and dots)",
      "words": 1
    },
    {
      "key": "color2",
      "doc": "the second colour (light end of noise, background cell of patterns)",
      "words": 1
    },
    {
      "key": "figure",
      "doc": "rings generator: how strongly the growth rings arch into a cathedral figure, 0 is straight grain",
      "words": 1
    },
    {
      "key": "warp",
      "doc": "rings generator: how much each ring wobbles along its length",
      "words": 1
    },
    {
      "key": "pores",
      "doc": "rings generator: fine fibre and pore streaks between the rings",
      "words": 1
    },
    {
      "key": "knots",
      "doc": "rings generator: how many knots in one tile (the pattern repeats, so keep it small)",
      "words": 1
    },
    {
      "key": "planks",
      "doc": "rings generator: lay it out as planks this many px tall, with a seam and a slightly different board each",
      "words": 1
    },
    {
      "key": "symmetrical",
      "doc": "mirror every other tile, so each edge meets its own reflection: no seam, and the repeat is twice as far apart. x mirrors left to right, y top to bottom, both (the default) does both. Works on the image-based textures (noise, bump, rings, waves, hex).",
      "words": 1
    },
    {
      "key": "density",
      "doc": "starfield and terrazzo: how many stars or chips in a tile, 1 is normal",
      "words": 1
    },
    {
      "key": "invert",
      "doc": "swap the two colours",
      "words": 0
    }
  ],
  "glowKeys": [
    {
      "key": "color",
      "doc": "the light colour (default: the element's text colour)"
    },
    {
      "key": "radius",
      "doc": "how far the glow reaches, in px"
    },
    {
      "key": "intensity",
      "doc": "brightness, 1 is normal"
    },
    {
      "key": "pulse",
      "doc": "milliseconds for one breath in and out; 0 is steady"
    },
    {
      "key": "depth",
      "doc": "how deep the pulse goes, 0 to 1"
    },
    {
      "key": "flicker",
      "doc": "random flicker, like a flame: 0 is steady, 1 is wild"
    },
    {
      "key": "seed",
      "doc": "a different random flicker with the same look"
    },
    {
      "key": "texture",
      "doc": "texture(grain scale 2): break the light up with a texture"
    },
    {
      "key": "essential",
      "doc": "keep animating even when the visitor prefers reduced motion"
    },
    {
      "key": "unclipped",
      "doc": "let the light spill out of a parent that clips (overflow: hidden, auto, scroll). Without it the aura is cut at that edge, like the element itself"
    },
    {
      "key": "around",
      "doc": "the shape the light follows: follow (the default: the element's clip-path or rounded corners), box, round, pill, diamond, triangle, hexagon, octagon, pentagon, star, star4, star6, cross, heart, drop, bolt, alpha (an <img> or <canvas>'s visible pixels), or polygon(50% 0, 100% 50%, 50% 100%, 0 50%)"
    },
    {
      "key": "inner",
      "doc": "light inside the edge (a rim) instead of outside it"
    },
    {
      "key": "rays",
      "doc": "that many beams of light from the middle, slowly turning (see spin)"
    },
    {
      "key": "spin",
      "doc": "rays turn this many degrees a second (default 10); on particles, how fast each one tumbles"
    },
    {
      "key": "ripple",
      "doc": "rings that spread out from the shape and fade, one every this many milliseconds"
    },
    {
      "key": "nohalo",
      "doc": "only the rays and ripples, without the soft halo"
    },
    {
      "key": "always",
      "doc": "keep emitting even when the element cannot be seen (opacity 0, display: none, visibility: hidden, on it or an ancestor): for an invisible anchor that smoke or sparks come out of"
    },
    {
      "key": "z",
      "doc": "the z-index of the layer this light is drawn on: `z 5` puts it under a hill with z-index 10. It meets elements in the page's root stacking context"
    }
  ],
  "particleKeys": [
    {
      "key": "color",
      "doc": "colours over a particle's life: color #ff0 -> #f60 -> transparent"
    },
    {
      "key": "count",
      "doc": "how many particles are alive at once"
    },
    {
      "key": "size",
      "doc": "diameter in px: size 4, or size 10 4 (start and end of a random range)"
    },
    {
      "key": "life",
      "doc": "how long one lives, in ms: life 900, or life 600 1200"
    },
    {
      "key": "speed",
      "doc": "px per second: speed 60, or speed 30 90"
    },
    {
      "key": "dir",
      "doc": "where they head: up, down, left, right, out, in, or degrees (-90 is up)"
    },
    {
      "key": "spread",
      "doc": "how wide the fan of directions is, in degrees"
    },
    {
      "key": "gravity",
      "doc": "px/s squared; negative pulls up (flames), positive down (snow)"
    },
    {
      "key": "drag",
      "doc": "air resistance: how fast particles slow down"
    },
    {
      "key": "turbulence",
      "doc": "random sideways wobble, px/s"
    },
    {
      "key": "from",
      "doc": "where they are born: edge or outline (along the element's real outline, see around), bottom, top, left, right, center, corners, thumb (range sliders)"
    },
    {
      "key": "shape",
      "doc": "circle, spark, square, ring, star, flame, smoke, line, heart, diamond, triangle, plus, drop, bubble, snowflake, confetti or leaf"
    },
    {
      "key": "grow",
      "doc": "size at the end of life as a multiple of the start: 0.2 shrinks, 3 swells"
    },
    {
      "key": "blend",
      "doc": "add makes overlapping particles brighter, normal just stacks them"
    },
    {
      "key": "glowing",
      "doc": "soft glowing particles that add light"
    },
    {
      "key": "behind",
      "doc": "draw only outside the element's box, as if the element hid them"
    },
    {
      "key": "seed",
      "doc": "a different random pattern with the same look"
    },
    {
      "key": "texture",
      "doc": "texture(grain): grainy particles"
    },
    {
      "key": "essential",
      "doc": "keep animating even when the visitor prefers reduced motion"
    },
    {
      "key": "unclipped",
      "doc": "let the particles leave a parent that clips (overflow: hidden, auto, scroll). Without it they are cut at that edge"
    },
    {
      "key": "around",
      "doc": "the shape `from edge` and `from outline` follow: follow (the default), box, round, pill, diamond, triangle, hexagon, octagon, pentagon, star, star4, star6, cross, heart, drop, bolt, or polygon(...)"
    },
    {
      "key": "palette",
      "doc": "each particle takes ONE of the colours (confetti) instead of fading through them"
    },
    {
      "key": "spin",
      "doc": "how fast each particle tumbles, in degrees a second (random direction)"
    },
    {
      "key": "wind",
      "doc": "a sideways push, px/s squared; negative pushes left"
    },
    {
      "key": "orbit",
      "doc": "the particles circle the middle of the element, this many degrees a second"
    },
    {
      "key": "always",
      "doc": "keep emitting even when the element cannot be seen (opacity 0, display: none, visibility: hidden, on it or an ancestor): for an invisible anchor that smoke or sparks come out of"
    },
    {
      "key": "z",
      "doc": "the z-index of the layer these particles are drawn on: `z 5` puts them under a hill with z-index 10. It meets elements in the page's root stacking context"
    }
  ],
  "sliderClauses": [
    {
      "key": "track",
      "form": "track [height] [color] [radius <n>|full]"
    },
    {
      "key": "fill",
      "form": "fill <color> | fill none"
    },
    {
      "key": "thumb",
      "form": "thumb <size> [color]"
    },
    {
      "key": "shape",
      "form": "shape circle | square | diamond | pill | bar"
    },
    {
      "key": "ring",
      "form": "ring <width> <color>"
    },
    {
      "key": "glow",
      "form": "glow <color> <radius>"
    },
    {
      "key": "ticks",
      "form": "ticks <count> [color] [length]"
    },
    {
      "key": "graph",
      "form": "graph <v1> <v2> ... (each 0 to 100)"
    },
    {
      "key": "graph-height",
      "form": "graph-height <px>"
    },
    {
      "key": "graph-gap",
      "form": "graph-gap <px>"
    }
  ],
  "glassWords": [
    {
      "key": "blur",
      "doc": "a number: how many px to blur what is behind the element (default 16)"
    },
    {
      "key": "saturate",
      "doc": "saturate <n>: colour boost for what shows through, 1 is unchanged (default 1.5)"
    },
    {
      "key": "bright",
      "doc": "bright <n>: brightness of what shows through, 1 is unchanged"
    },
    {
      "key": "tint",
      "doc": "tint <color> | tint none: the milky layer on top (default: a faint wash of the text colour)"
    }
  ],
  "tiltWords": [
    {
      "key": "max",
      "doc": "a number: the largest tilt in degrees (default 8)"
    },
    {
      "key": "lift",
      "doc": "lift <n>: scale while the pointer is over it, e.g. 1.04"
    },
    {
      "key": "perspective",
      "doc": "perspective <px>: how strong the 3D depth looks (default 900)"
    },
    {
      "key": "speed",
      "doc": "speed <0.05 to 1>: how quickly it follows (default 0.18)"
    },
    {
      "key": "invert",
      "doc": "invert: tilt away from the pointer instead of toward it"
    },
    {
      "key": "glare",
      "doc": "glare: also keep --dssl-gx and --dssl-gy (0% to 100%) pointing at the pointer, for your own highlight"
    }
  ]
}