HowTo: Generate a Mandelbrot with ASCII Art using TSQL

Actual Mandelbrot image generated  

 

 

Actual Mandelbrot image generated

Okay, I’m a programmer so by nature I enjoy these kinds of things but I just couldn’t resist sharing with you. 

Just for comparison purposes the image on the right is a computer generated image of a Mandelbrot that I’ve converted to grayscale for comparison. 

The Mandelbrot Set image below was generated using less than 50 lines of TSQL code using ASCII characters – I just used a really small font-size in Notepad and then after capturing it inverted the colours for better effect as an image. [via The Daily WTF]

 

ASCII characters used to create a Mandelbrot

ASCII characters used to create a Mandelbrot

Comments are closed.