|
CATACAUSTIC CURVES: Executable or Text Version
As illustrated by the screen dump picture below, with this program you can select a point light-source with the mouse (just left-click where you want when the mouse cross-hairs appear), and you will see the curve created by the envelope of reflected light rays from the surface of the chosen curve.
I achieve this by accurately estimating the derivative of the curve at each point the light hits it, from which I calculate the Unit Normal vector to the curve at that point, from which I can work out the correct reflected ray.
For further inspiration of which curves to draw, Jan Wassenaar's website has 667 different curves to choose from.
|
|