Aman Behera

Writing

From a spinning arrow to a straight page

1 min readSeeing straight · part 2interactive, fourier, computer vision

Wind a signal around a circle and watch where its centre of mass lands. That one picture is the whole Fourier transform.

Part two is the long walk. It starts with the winding picture made famous by 3Blue1Brown, adds notes together to see why the transform unmixes them, and then moves to images: what a single point in a spectrum means, four rules for reading one by eye, and a short quiz.

Then it gets practical. It walks through the open-source jdeskew estimator line by line and reproduces a bug I found in it: on phone photos, padding the image drew a fake ink edge, and that edge pulled every answer to zero degrees. Thresholding before padding removes the edge, and that fix is now merged upstream.

Interactive · sliders, play buttons and click-to-compute gridsOpen full screen ↗

Every demo runs on small 128 × 128 images in your browser, so you can break things freely.

Next, part three turns all of this into a tool you can drop your own photos into.