Set the "n" and "color +" sliders and hit the green flag n=for 3 to 7https://scratch.mit.edu/mystuff/ Julia Set |Z|^(2*n+4) * Z^(-2*n)*Z+c(c=0.6)
Z=x+iy Z=|Z|(cosα + i sinα) where |Z|=sqrt(x^2+y^2) α=arctg(y/x) To calculate the power of complex numbers, I used the de Moivre formula. Z^-2*n+c=(|Z|^-2*n)*(cos((-2*n+1)*α) + isin((-2*n+1)*α))+c c=0.6