Pixel UI/ASCII/Warp tunnel

Warp tunnel

Down an endless tunnel of light.

<piix-ascii>WebGL
Colours
Characters

Rings and panels rush past toward a dark centre that follows the pointer.

Installation

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

Usage

<piix-ascii scene="tunnel" height="460px"></piix-ascii>

Examples

As a hero

With fill it sits behind everything else in its section.

Build in ASCII.

A whole world behind your words.

Get started

Other characters

chars swaps the character ramp: blocks, binary, or dots.

Repainted

Any palette, or your own colours from dark to light.

API reference

AttributeWhat it doesDefault
sceneglow flow aurora ocean terrain galaxy planet city tunnel rain storm dunesglow
paletteany Pixel UI palette, or your colours dark to light: #0a1a8c,#2b8cff,#ffffffthe scene's own
charsascii blocks binary dotsascii
hazehow much soft glow behind the characters, 0 to 1.55
pixelsize of one font pixel, in px (a character is 6 by 9 of them)2
speed1 is normal, 0 holds still1
heightwhen not filling: px or any CSS length420px
fillsit behind the content of the parent element–

Accessibility