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


Tags: , , , , , , ,

ADVERTISING:

2 Responses to “HowTo: Generate a Mandelbrot with ASCII Art using TSQL”

  1. [...] is on the logo of this Blog! However, being the most well-known fractal, this issue was tackled already, with satisfactory [...]

  2. [...] HowTo: Generate a Mandelbrot using XSLT We’ve seen before how Mandelbrots can be mathematically generated using T-SQL and ASCII art. [...]

Leave a Reply