Distortion

This is a java program that applies conformal mappings to images.  Here are three versions for download;


Instructions

When you first start the program it prompts you for an image file to work on.  Any jpeg or png file should work.

Controls are by mouse and single keystrokes.  Here are the keystroke commands.

<spacebar> toggles between original and distorted image
h
toggles hide/show of pinpoints
f
fixes distortion, i.e. makes distorted image the new original to work on
s
saves image
c
change conformal mapping - cycles through the 3 available mappings
o
opens new file
q
quits program


The mouse is used to move the colored pinpoints, which work differently for each mapping.

Moebius
The green, red, and blue points in the original image are mapped to corresponding points in the distorted image.
Fix3
The green, purple, and blue points in the original image are fixed; the orange and red points are mapped as for Moebius.
Frcn
The green, purple, blue, and orange points in the original image are fixed; the red point is mapped as for Moebius.