| auroraBlobs | pixi-silk/glow: light effects built from stacked SilkGraphics passes. Glow with the neon, halo and shadowStack recipes, an Aurora background, and helpers for rays and spectra. Not part of the root pixi-silk import. |
| bolt | Adds a lightning bolt filling the box (x, y, w, h) to g as one polygon and returns g. Fill it once and blur, spread and inner shadows treat it as a single shape. |
| drop | Adds a drop with its tip up as one closed path and returns g. It is a circle of radius r around (cx, cy), pulled into a point tip above the centre (default 1.6 * r). |
| fan | count rays fanning out from (x, y) around angle (radians), spread radians wide in all, each length long. Neighbouring rays touch at their ends. width is the total width at the start, shared between the rays (default 0, a point). Pair with spectrum for the colours. |
| halo | A soft halo only, no core: rings additive passes of the shape (default 3), each wider and fainter, returned back to front. size (default 100) scales the blur and spread. |
| hexLabel | Upper-case hex string of a colour without alpha, #FF3636 style, for swatch labels. |
| neon | A neon glow as seven GlowLayers, back to front, for a shape about size wide. Two blooms go behind. Then come two coloured drop glows and the core, a radial gradient with a pale inner shadow. A 60% white copy on top makes the middle burn towards white. A thin blurred white outline finishes it. On a dark surface the glows blend additively. |
| ray | Adds a tapered ray to g as one polygon and returns g. Fill it afterwards, blurred for light. One shape has no seam down its diagonal when it is blurred or translucent. |
| rayQuad | Corners of a tapered ray as a flat [x, y] list of four points: start left, start right, end right, end left. |
| shadowStack | Stacked additive shadows behind a shape, as in CSS. Each [blur, spread] pair uses the CSS blur radius, which is twice the gaussian sigma. The default stack is [8, 0], [32, 8] and [128, 32] in white at alpha 0.6. |
| spectrum | count colours spread evenly along SPECTRUM, interpolated in sRGB. count is rounded, at least 1. |