Dithering the portfolio hero
How I used a grid of dots to carry motion from five project films into my portfolio homepage.
One film, two views
On my homepage, a small window plays a project film. I use the same frames behind the heading, where a second full-colour image would compete with the words. The background samples each frame on a grid. A repeating four-by-four pattern decides which dots light up. Fewer dots appear behind the heading, so the letters have a darker field around them.
What happens when you move the pointer
Near the pointer, the grid cells shrink and the dots turn orange. When the featured project changes, the background blends the outgoing film into the next one. Both effects happen in the WebGL renderer, so each project can use its own footage with the same treatment.
See the hero on my homepage or read the renderer source on GitHub.