HowTo: Generate a Mandelbrot using XSLT

Posted in General, Technology on April 29th, 2009 by Deems

We’ve seen before how Mandelbrots can be mathematically generated using T-SQL and ASCII art.

XSLTs are used to transform XML documents into more readable information. Now someone’s taken the time to create an XSLT template to transform a few values in an XML file into a mandelbrot image also using 27 ASCII characters (each with their own colour). [via The Daily WTF]

xslt-mandelbrot

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • DotNetKicks
  • email
  • FriendFeed
  • Identi.ca
  • laaik.it
  • LinkedIn
  • muti
  • MySpace
  • Posterous
  • Reddit
  • StumbleUpon
  • Technorati
  • Tumblr
  • Twitter
Tags: , , , , ,

HowTo: Generate a Mandelbrot with ASCII Art using TSQL

Posted in General, Technology on November 19th, 2008 by Deems
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

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • DotNetKicks
  • email
  • FriendFeed
  • Identi.ca
  • laaik.it
  • LinkedIn
  • muti
  • MySpace
  • Posterous
  • Reddit
  • StumbleUpon
  • Technorati
  • Tumblr
  • Twitter
Tags: , , , , , , ,