Holo Plan Cards
Three glass plan cards with holo faces, dealt out of a pile into a row as the section scrolls into view, the featured one ringed in cobalt and lifted. Each card is a real offer: price, cadence, four lines and one link.
WebGL20 deps1 file · 51 KB TSXreduced-motion aware
Props
"use client";
import { useCallback, useEffect, useRef, useState, type CSSProperties, type RefObject } from "react";
/* ============================================================================
* HOLO ART ENGINE
*
* Every picture in the kit (the glass cube grid on a card, the violet tubes,
* the mosaic, the cobalt slabs, the dark tiled room, the concrete steps) is
* PAINTED IN CODE by one hand-written WebGL2 ray marcher. Nothing is a photo
* or a video, so an AI agent can retarget a scene by editing its map().
*
* How it stays cheap:
* - One shared offscreen WebGL2 context for the whole page, created on the
* first request and never per component.
* - A picture is rendered ONCE per (scene, size, seed) and cached as a
* canvas. Cards, pills and tiles draw the cached canvas into their own 2D
* canvas; nothing ray-marches per frame.
// ---------------------------------------------------------------
// Full source available with a viberdy Pro subscription.
// https://viberdy.dev/pricing
// ---------------------------------------------------------------
}Details
About this section
The plans of a glossy landing, as cards you would want to hold. Each plan is a frosted glass card with a holo face on top (tubes, glass cubes, rings, ray-marched in code), then the name, a big light-weight price with its cadence, one line of pitch, four features marked with the kit's asterisk, and one button. The featured plan is ringed in cobalt, badged, lifted above the others and carries the only black button. As the section scrolls up, the three cards start as one pile in the middle, turned and sunk a little, and are dealt out into the row one after another while the heading rises in. Hover lifts a card. The defaults sell this very kit: a free tier, the Holo Gloss kit as a one-time purchase, and Pro with every kit included; pass your own plans array for your product.
Curator’s note
The deal is one progress value measured as the section's top climbs the view: each card blends from a turned, sunk place in a central pile to its slot in the row, with a stagger. Below a 760px container the cards stack and simply rise in. Every href passes an allowlist (in-page anchors, site paths, http, https and mailto, no backslashes).


