Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

stough 202-

Preview: Radon Transform, Draw Your Own

Using mouse movements to draw, and then show the radon transform of the resulting picture.

Click and drag in the left panel to paint. When you let go, the sinogram on the right updates. Two facts from the dot animation are all you need to predict what you’ll see: every painted point traces its own sinusoid, with amplitude equal to its distance from the center and phase equal to its angle around the center; and the Radon transform is linear, so the sinogram of your drawing is just the sum of the sinusoids of all its points. Start with a single dot, then a short line, and see if you can predict the sinogram before you release the mouse.

Parameters for the drawing.ΒΆ

image size, brush size, etc.

Even Cooler AnimationΒΆ

Now we connect mouse interactions with the visualization.

<Figure size 1200x400 with 2 Axes>