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

Advertisements

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: