lab

Lab

This microsite hosts code experiments and components. Nothing gets finished.

Portfolio site.

Show only
View

Reusable pieces, each with its own package on npm.

Each shows off one of the components.

  • ProximityEffect

    Animate CSS properties based on the pointer's (or another target's) distance from each element.

    Components

  • <frame-seq>

    Custom HTML element to animate nested images. Early alpha.

    Components alpha

  • <image-panel>

    Custom HTML element to display slideshows. Alpha.

    Components alpha

  • WrapChars

    Individually wrap characters in a chosen element, with optional class.

    Components

  • Bubbles

    Dots grow and light up around the pointer while the rest shrink into the dark, with near and far swapped by invert.

    ProximityEffect Experiments Demos

  • Depth

    Tiles near the pointer lift towards you, in colour and out of focus; the rest stay flat, sharp and pale.

    ProximityEffect Experiments Demos

  • Flip

    Two-sided tiles turn over as the pointer passes, showing their backs.

    ProximityEffect Experiments Demos

  • Reveal

    Circles rush out at the viewer, blurred, except around the pointer, where they settle back into place.

    ProximityEffect Experiments Demos

  • Pulse

    A 30-column grid twisted by scattered skews and scales, its threshold pulsing on every frame.

    ProximityEffect Experiments Demos

  • Lens

    A poem split into letters with WrapChars; the ones near the pointer come into focus, as through a lens.

    ProximityEffect Experiments Demos

  • Scatter

    A poem whose letters tumble apart in 3D, gathering back into lines where the pointer is.

    ProximityEffect Experiments Demos

  • Scatter (words)

    The same scatter, a word at a time.

    ProximityEffect Experiments Demos

  • Responsive weight

    Came up with this to demonstrate responsive image loading. Drag the frame narrower to see the images swap.

    Experiments

  • Split reveal

    Various pure CSS ways to have a portrait split open to reveal a graphic.

    Experiments

  • Comic Book Heroes

    Large, overlapping images, a fully responsive layout and vertical centering come together in this comic book inspired experiment.

    Experiments archive

  • One-page slider

    Contemporary slides-based design focused on large images and typography. Self-configuring to the number of slides.

    Experiments archive

  • Looney Tunes-inspired media player

    An example HTML video player. Includes dynamically resizing and vertically centred video within a responsive, fluid layout. A bit glitchy.

    Experiments archive

code