@dioramajs/particles/snow
Exports of @dioramajs/particles/snow.
import { default, POOL } from '@dioramajs/particles/snow'Constants
default | Snowflakes, petals or leaves drifting down over an element or over the whole page on `<body>`, swaying in the wind, pushed aside by the pointer, with an optional drift of snow building up at the bottom edge. One instanced draw over everything; the element is never hidden and clicks go through. Under reduced motion nothing loads. |
POOL | Flakes the instance buffer holds, after the one drift at index 0. |