Skip to content

Instantly share code, notes, and snippets.

@vidyabhandary
Created January 19, 2021 11:29
Code for Julia set
while ( ++iterations <= maxiterations) {
za = a * a;
zb = b * b;
if (za + zb > 4) break;
as = za - zb;
bs = 2 * a * b
a = as + jsX;
b = bs + jsY;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment