UNPKG

@fluritheme/fluri

Version:

Interactive snowfall for websites: DOM-aware snow accumulation, mouse interactions, snow physics, Canvas 2D rendering, and Christmas effects.

13 lines • 420 B
import type { Surface } from '../types.js'; export interface SnowPoint { x: number; depth: number; base: number; } export interface SnowContour { points: SnowPoint[]; peak: number; } /** Trace the collision profile itself. Empty gaps stay empty; no decorative height is invented. */ export declare function buildSnowContours(surface: Surface): SnowContour[]; //# sourceMappingURL=SnowContour.d.ts.map