@dioramajs/media/liquid
Exports of @dioramajs/media/liquid.
import { default, Field } from '@dioramajs/media/liquid'Classes
Field | A displacement field over the box: `size` × `size` cells, each a vector in box px (y up) that the pointer pushes along its path. Every step it decays, spreads to the neighbours and drifts along itself. Deterministic: the same strokes and steps give the same field. |
Constants
default | The pointer leaves a fluid trail on a photo: the picture refracts, smears or splits into its colours along the path and settles back. A finger draws while it is pressed. |