Skip to content

Instantly share code, notes, and snippets.

@justecorruptio
Last active June 24, 2020 03:43
Show Gist options
  • Save justecorruptio/7276529 to your computer and use it in GitHub Desktop.
Save justecorruptio/7276529 to your computer and use it in GitHub Desktop.
Python script to generate a Mandelbrot set.
J=1;exec'''z="";b=-1.6;exec'
x=y=0;exec"x,y=2*x*y+J,y*y-x
*x+b;"*20;z+=" O"[x*x+y*y<2]
;b+=.040;'*60;print z;J-=.10
;'''.replace('\n','')*20#Jay
@parris
Copy link

parris commented Apr 5, 2014

This is like poetry #parris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment