animated distortion
✓ Published0🌍 Public
PPatrick Wojda
Last edited Jan 4, 2017
Created on Dec 21, 2016
A single kitten image is displayed on an SVG canvas, with its appearance continuously shifting through two different distortion effects. The visualization alternates between two SVG filters, each combining a `feTurbulence` fractal noise generator with a `feDisplacementMap` to warp the image’s pixels. A recursive `setTimeout` function in plain JavaScript toggles the active filter every 400 milliseconds for ten iterations, creating a rhythmic pulsing distortion. The code uses D3 v4 for SVG selection and attribute manipulation, while the image itself is loaded from an external placeholder service.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed