Animesh Kumar {itsAnimesh}

Animesh Kumar {itsAnimesh}

I'm an IT professional from New Delhi, India. Currently for the most part I work as a Technical Consultant developing Open Source ICT solutions for social and societal inclusion. I'm also pursing PG in Management. Below are the latest updates from a some social networks I subscribe to.

Piet – Where Programs look like Abstract Paintings!!!

Today I was randomly surfing around online when i found something quite unusual : Piet. It’s a programming language named after Piet Mondriaan, the Dutch artist, who pioneered the field of geometric abstract art. In this programming language, a program is actually an image where each color determines what to do. The color decided where the instruction pointer will go next, what to do with the stack and what to output to the user Though it doesn’t serve much of a purpose, but it’s one of the most interesting programming languages i have come across.

One program in particular that i felt was interesting is :

 

 

Besides being a picture of a circle, this is also a Piet program that calculates the number pi. The best part is: if you increase the image size, the approximation of pi becomes more accurate. Brilliant and quite Geeky!! :)

Thanks for Reading... Please Post Your Comments Below