Repository navigation
Releases
0.5.1: native callbacks run as worklets
0.5.0: frankaa for React Native
frankaa/native: Procession, Drumline and Unfurl for React Native, with an optional Skia unfurl shader (frankaa/native/skia). Reanimated 4 and Gesture Handler as optional peers; the web bundles are unchanged apart from shared helpers.
0.4.0: never a frozen photo
A slow photo never holds the lightbox up.
- Opening and moving happen at once: the lightbox shows the photo's placeholder or thumbnail in its own shape, with a loading material drifting over it, then the photo opens up in place when it lands.
- Loading materials:
film(default) andnonebuilt in;frostandliquidfromfrankaa/loading; your own shader ({ fragment, uniforms }, registered withregisterLoading) or your own view ((host, { index, failed, retry }) => cleanup). - A small ring after
loadingDelay(250 ms by default), so fast photos never show it;aria-busyand a "Loading photo N" announcement. - A photo that doesn't load shows "This photo didn't load" with Retry, in either renderer;
onErroris unchanged. - Only the latest move changes the picture; filmstrip jumps load that photo and its neighbours at once.
- New hooks
onLoadStartandonLoadEnd(frankaa:load-start,frankaa:load-end), labelsloading,failed,retry, andcheckLoading. - Site: a Loading section with a switchable slow connection and failure.
check:loadingcovers both renderers: slow, failed and cached opens and moves, rapid jumps, the registry and the site demo.
Sizes (gzipped): lightbox 23.9 kB (was 19.0 kB), frankaa/loading 1.35 kB.
0.3.0: video controls
mp4 slides in the lightbox now have frankaa's own controls.
- Play and pause, a seek bar with time and length, mute with a volume slider, and full screen
- A tap on the video plays or pauses it instead of closing the lightbox
- The bar fades out during untouched playback and comes back on movement or focus
- Keys with focus in the player: Space or K, Left and Right (5 s), J and L (10 s), M, F; Escape still closes
- New labels for every control (pause, mute, unmute, seek, volume, fullscreen, exitFullscreen, timeOf)
- Theme with --fk-vc-ink, --fk-vc-fill, --fk-vc-track, --fk-vc-buffer, --fk-vc-btn
0.2.4
0.2.3
- Lightbox: effects play in full when the next photo is still loading. The effect's clock now starts once the photo is ready; before, a slow photo used up the effect and only its end showed. While it loads, the current photo stays with its own shape.
0.2.2
- WebGL: photos bigger than the screen needs are drawn down before upload. Camera originals (3000 px and up) drew black on phones, iPads and some Macs; a refused upload now falls back to CSS. Applies to the lightbox and drumline's bend.
- Lightbox filmstrip takes less room: its band fits the look (84px for pictures alone, 142px with a ruler or numbers), and a wide screen keeps only the caption's room above it.
0.2.1
- Lightbox: with WebGL, a sideways swipe runs the effect under the finger. Its progress follows the drag, then finishes or rewinds on release with the fling's velocity. New option
swipe: "effect" | "strip"(default "effect"). Videos, the first and last photo and the CSS renderer keep the side-by-side slide. - Site: phone nav, new hero, Ask AI.
0.2.0
drumline (dondo, the talking drum): tick ruler, story strip, number frame and minimal presets; fluid modes off, lerp, chain and WebGL bend; light colour focus; drag, inertia, snap, wheel on both axes, tap to expand. Combine in one option: unfurl(items, { strip }) or drumline(el, items, { lightbox }). One shared items format. Fixes: slider double tap, automatic video poster, reset-proof focus, picture sources, preload, React unmount hooks. Full mobile pass.
0.1.2
Zoom (pinch, double tap, trackpad, +/-), video slides (YouTube, Vimeo, TikTok, Instagram, MP4), top-bar actions slot, close hooks on destroy(), reset-proof styles, slider server rendering, placeholders, slider as a link, counter and pinch zoom in the slider, per-corner and per-photo radius, srcset/sizes, more theme properties and icon slots. Includes 0.1.1: faster frames and iOS-Photos-style swipes.