Your system asks for reduced motion, so VFX-JS draws nothing. Demos on this site show plain HTML.

Class

PixelSortEffect

effects/src/pixelsort.ts:320 ↗
import { PixelSortEffect } from "@vfx-js/effects";

Threshold-based pixel sort. Scans each row/column for runs whose key falls in the range band and reorders the run by key. Set angle to sort along an arbitrary direction. Mutate params directly or via setParams.

Ported from "20170723_pixelSorter" by FMS_Cat: https://www.shadertoy.com/view/XsBfRG

Implements
Effect
Interface members
disposerender

Constructors

new PixelSortEffect()

new PixelSortEffect(initial?: Partial<PixelSortParams> = {}): PixelSortEffect

Properties

params

params: PixelSortParams

Methods

setParams

setParams(partial: Partial<PixelSortParams>): void