Playground

Visual effects for the web

Modern CSS and SVG techniques, built as tokenized, fully configurable Svelte components. Pick an effect and play with every knob.

  • Noise

    Grain and texture from a single SVG filter primitive, optionally animated as film grain.

    • feTurbulence
    • feColorMatrix
    • feComponentTransfer
    • mix-blend-mode
  • Frosted glass

    Blurred, warped backdrop with grain and a thin, directionally lit rim.

    • backdrop-filter
    • feDisplacementMap
    • feTurbulence
    • mask-composite
  • Liquid glass

    A refractive lens: the backdrop bends along a curved bezel computed from a signed distance field, with a specular rim.

    • backdrop-filter
    • feImage
    • feDisplacementMap
    • feSpecularLighting
  • Chromatic aberration

    RGB split on any content: channels isolated, offset and screened back together, optionally radial like a lens.

    • feColorMatrix
    • feOffset
    • feBlend
    • feDisplacementMap
  • Gooey

    Shapes that melt into each other like metaballs, from a blur and an alpha threshold, plus a gooey menu.

    • feGaussianBlur
    • feColorMatrix
    • feComposite
    • filter: url()
  • Lighting

    Embossed plaster and raised letters lit by a light that follows the pointer.

    • feDiffuseLighting
    • feSpecularLighting
    • fePointLight
    • feTurbulence
  • Duotone

    Gradient maps for any HTML: luminance mapped through two or three color stops by an SVG filter.

    • feColorMatrix
    • feComponentTransfer
    • feComposite
    • color-interpolation-filters
  • Halftone

    Print-style dots from CSS gradients and a contrast() threshold, or posterize with ordered Bayer dither.

    • radial-gradient
    • filter: contrast()
    • feTile
    • feComponentTransfer
  • CRT

    Scanlines, phosphor mask, barrel distortion and bloom over real, readable text, with a photosensitivity-safe flicker.

    • repeating gradients
    • mix-blend-mode
    • feDisplacementMap
    • feGaussianBlur
  • Holographic foil

    Trading-card foil that tilts in 3D towards the pointer, with a sliding rainbow, embossed relief and glare.

    • mix-blend-mode
    • background-blend-mode
    • perspective
    • custom properties
  • Spotlight cards

    One pointer-following glow lighting up a grid of cards, strongest in their borders.

    • radial-gradient
    • mask-composite
    • custom properties
    • ResizeObserver
  • Aurora

    Drifting mesh gradient: layered radial-gradients moved by animated, registered custom properties.

    • @property
    • radial-gradient
    • cos() / sin()
    • filter: blur()
  • Squircles

    Superellipse corners that morph, plus a Material 3 Expressive style connected button group.

    • corner-shape
    • superellipse()
    • linear() easing
    • clip-path: path()
  • Sticker outline

    A die-cut sticker edge that follows the alpha of images, icons and text, with an optional keyline ring and drop shadow.

    • feMorphology
    • feFlood
    • feComposite
    • feMerge
  • Edges and sketch

    Sobel and Laplacian edge detection, pencil sketch and emboss on any content, from convolution kernels.

    • feConvolveMatrix
    • feComponentTransfer
    • feTurbulence
    • feBlend
  • Posterize

    Flat color bands per channel, like a screen print, with optional ink lines along the edges for a cel-shaded look.

    • feComponentTransfer discrete
    • feConvolveMatrix
    • feColorMatrix
    • feMerge
  • Pixelate

    Mosaic any content with a pure SVG sample-and-hold filter, with optional tiles and grout, and a censor-style reveal.

    • feFlood
    • feTile
    • feComposite
    • feMorphology
  • Glitch

    Slices of any content jump sideways and the RGB channels tear apart, in short, photosensitivity-safe bursts.

    • feImage
    • feDisplacementMap
    • feColorMatrix
    • feOffset
    • feBlend
  • Magnifier

    A keyboard-operable loupe or fisheye that follows the pointer and zooms live HTML with a generated radial displacement map.

    • feImage
    • feDisplacementMap
    • feMerge
    • backdrop-filter
  • Water ripple

    Content or the backdrop wobbles as if seen through water or hot air: noise slid across a small repeating tile drives a displacement map.

    • feTurbulence
    • feTile
    • feOffset
    • feDisplacementMap
    • backdrop-filter
  • Caustics

    A dancing net of light, like sun on a pool floor: turbulence ridges bent by moving noise, lit and screened over any content.

    • feTurbulence
    • feComponentTransfer
    • feSpecularLighting
    • feDisplacementMap
    • feBlend
  • Ink bleed

    Ink and watercolor edges for shapes and live text: fiber-displaced, feathered outlines, pooled pigment rims and granulation on lit paper.

    • feTurbulence
    • feDisplacementMap
    • feGaussianBlur
    • feColorMatrix
    • feDiffuseLighting
  • Dissolve

    Burn-away transition: a noise threshold eats the element from one side, with a scorched rim and a glowing ember edge.

    • feTurbulence
    • feComponentTransfer
    • feColorMatrix
    • feComposite
    • feImage
  • Kaleidoscope

    Mirrored wedge copies of an image, cut with clip-path and turned into place with CSS trig, slowly spinning and following the pointer.

    • clip-path
    • tan()
    • rotate
    • @keyframes
  • Neon

    A neon sign from real text: stacked glow layers, a photosensitivity-safe flicker, power-on and dead letters.

    • text-shadow
    • filter: drop-shadow()
    • @property
    • color-mix()
  • Gradient text

    Gradient-filled and outlined type that stays selectable, with a turning gradient and a solid fallback.

    • background-clip: text
    • -webkit-text-stroke
    • paint-order
    • @property
  • Long shadow

    Long shadows and extruded 3D letters from a generated list of hard-edged text-shadow copies.

    • text-shadow
    • color-mix()
    • generated CSS
  • Border beam

    An arc of light running around a border: a conic gradient turned by a registered angle and masked to the border ring.

    • @property
    • conic-gradient
    • mask-composite
    • filter: blur()
  • Shimmer

    A band of light sweeping across buttons, text or skeleton loaders: a sliding layer, clipped text or an animated mask.

    • translate
    • background-clip: text
    • mask-image
    • @property
  • Split text

    Letters, words or list items that arrive one after another, staggered by their own sibling index, with the text kept whole for screen readers.

    • sibling-index()
    • sibling-count()
    • @starting-style
    • linear() easing
  • Scroll reveal

    Elements fade, scale, clip or un-blur into view and parallax layers drift as you scroll, driven by scroll and view timelines with no JavaScript on scroll.

    • animation-timeline: view()
    • animation-range
    • view-timeline
    • timeline-scope
  • View transitions

    A theme switch revealed by a circle growing from the click, and list items that morph between layouts and into a detail view.

    • startViewTransition
    • view-transition-name
    • view-transition-class
    • clip-path
  • Paint Worklet (experimental)

    Generative dots, squiggles and blobs painted by a CSS Paint Worklet from registered custom properties, with a gradient twin outside Chromium.

    • paint()
    • CSS.paintWorklet
    • CSS.registerProperty
    • mask-composite
  • Water simulation (experimental)

    Drop stones into a GPU wave simulation that refracts the image behind it. Raw WebGL2 with a still-image fallback.

    • WebGL2
    • ping-pong framebuffers
    • GLSL
    • EXT_color_buffer_float