Pixel UI/Image effects/Alive

Alive

Your picture, exactly as it is, brought to life: depth, glow, haze and light.

<piix-image-fx>WebGL
Effect
Glow

Keeps the image untouched and adds motion on the GPU: brighter parts sit nearer and shift with the pointer, glowing areas breathe and bloom, heat haze ripples over hot parts, the camera breathes and a light sweeps across. Made for hero images.

Installation

<!-- once, anywhere on the page: every component -->
<script src="https://cdn.jsdelivr.net/npm/piixpal@0.6/piixpal.min.js"></script>

Usage

<piix-image-fx src="../site/pixelui-30-poster.jpg" effect="alive" alt="A lake at sunset" height="440px"></piix-image-fx>

API reference

AttributeWhat it doesDefault
srcthe image (on your site, or served with CORS)–
src2the second image, for morph–
altwhat it shows–
effectdots alive liquid rgb morph ripple streak zoom frosted codeliquid
automorph on its own instead of on hover–
palettethe glow colourssunset
heightany CSS lengththe image's own shape

Accessibility