Instructions
Code to draw an SLE by the simplest possible algorithm: Euler integrate the Loewner equation. A pixel is drawn in black if it is more likely to be to the right of the curve, and in white if it is more likely to be to the left. The red pixels show where the algorithm is failing (by which I mean the numerical integration scheme exited the upper half-plane). As you will see this can occur a lot!
Press space to reset the simulation. Press 1-4 to change the value of kappa, although honestly it's mostly inaccurate above 2. Press 'd' to toggle between drawing the red pixels or not.
Source code: nieveSLE
Built with Processing