# Halftone Scene Footer

**Group:** Layout, lists and widgets  
**Recording:** [https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/halftone-scene-footer.mp4](https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/halftone-scene-footer.mp4)  
**Source:** [https://ui.aryank.space/components/halftone-scene-footer](https://ui.aryank.space/components/halftone-scene-footer)  
**Human:** https://blankinterfaces.com/lab/halftone-scene-footer

---

## What it is

A footer whose backdrop is live video redrawn as a vertical-line halftone: a WebGL shader samples grazing sheep and a mountain ridge on a coarse grid, mapping each cell's darkness to the width of one vertical line, so the footage reads as a woven, barcode-like engraving in two inks over a warm ground plane.

## Behaviour

### One line per cell

A fragment shader samples the video once per grid cell, runs a levels pass (black point, white point, gamma), and converts the result to the width of a single centered vertical line. Darker cells grow wider lines, and the sweep overshoots the cell by 2% on each side so full darkness fuses into a solid field.

### Two layers, two logics

The sheep layer draws light lines on an opaque dark field. The mountain layer inverts its levels, samples its video upside down, and sets fill opacity to zero, so the flipped bright sky becomes transparent slits revealing the warm ground plane behind the canvas, and the ridge gradient reads as a fence of stripes. The backdrop block is shorter than the band on purpose: slits above it land on the dark page and vanish, cutting the fence at one uniform height.

### Trimmed to the subject

Cells whose sampled texel, or any texel in a two-texel ring around it, is transparent or near-black are discarded. That clips the halftone cleanly to the silhouette instead of leaving a hard rectangular video frame, and lets layers composite over each other.

---

[View all content](https://blankinterfaces.com/sitemap.md)
