Rotozoomer

Version 7 of 8

Filtered rotozoom.

GPU · GLSL · today

This version

Procedural texture, anti-aliased and motion-blurred over four sub-frames, what the old version only hinted at.

How this version works

This fragment shader generates a checkerboard and repeating rings mathematically instead of reading the indexed DL texture. It rotates, scales and translates the pattern separately for four time samples spaced 0.008 seconds apart, then averages their colours for short motion trails. The palette blends dark purple with orange and yellow according to pattern intensity and horizontal texture position. Smooth transitions soften ring edges, and a screen-space vignette darkens the corners. The variant requests a render scale of 0.8.

The trick in this version

All four temporal samples are evaluated inside one fragment shader invocation, without stored previous frames or a feedback buffer. The checkerboard itself uses hard floor-based boundaries, so this is not general spatial antialiasing.

Historical context · GPU

  1. today · cake23 · WebGL Shader Lab

    Rotozoom with feedback

    A running example that feeds each frame back in as the next frame's texture, the rotozoom as a feedback loop.

Platform
GPU · GLSL
Era
GPU
Rendered on
GPU
Tags
motion blur · procedural
Sources
Rotozoom with feedback (today)