Skip to content
pixi-silk
GitHub repository
Interface

NeonOptions

import type { NeonOptions } from 'pixi-silk/glow';

Options of neon.

Properties#

PropertyTypeDescriptionDefined in
core?ColorSource | GradientPaint of the solid core, a colour or a gradient. Default a radial gradient from a pale tint to the glow colour.glow/recipes.ts:10
intensity?numberStrength of the bloom, from 0 to about 2. Negative values count as 0. Default 1.glow/recipes.ts:12
size?numberRough size of the shape in local units. Every blur and spread scales with it. Tuned at 100. Default 100.glow/recipes.ts:8
surface?"light" | "dark"What the glow sits on. Light adds up on dark surfaces. On light ones (white cards) added light would vanish, so the passes paint normally. Default dark.glow/recipes.ts:17