Pixel UI/Sections/Marquee

Marquee

An endless row of logos whose ends dissolve into dithered pixels.

<piix-marquee>DOM + canvas

Logos, words, anything: they slide past in a loop with no seam. Instead of a blurry fade the ends break up into a pixel dither. Hover to pause it.

Installation

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

Usage

<piix-marquee>
  <span class="logo">◆ Acme</span>
  <span class="logo">▲ Globex</span>
  <span class="logo">● Initech</span>
  <span class="logo">■ Umbrella</span>
  <span class="logo">✦ Hooli</span>
  <span class="logo">⬢ Vandelay</span>
</piix-marquee>

Examples

Two rows, opposite ways

API reference

AttributeWhat it doesDefault
speedpixels a second40
gappx between items48
fadepx of dithered fade at each end96
reversescroll the other way–

Accessibility