
algorithm
Get flash to fully experience Pearltrees
mathematics
genetic_algorithms
blog » Blog Archive » Game of Life text and image generator g
I saw this image the other day on Hacker News and Reddit : It’s a Game of Life pattern that prints out “Golly”. Neat, but I wanted my own. After about 5 minutes of playing around with the Golly logo pattern in Golly (a program for experimenting with the Game of Life), I gave up and wrote a program to do it.As a developer who was raised on procedural and object oriented programming languages like C, C++ and Java it took me a while to figure out what people were raving about when it comes to the benefits of functional programming techniques. I always thought closures and higher order functions were words used by snobby kids from MIT and grad students to show how overeducated they were as opposed to programming tools I'd ever find useful. This thinking was additionally fueled by articles like Joel Spolsky's Can Your Programming Language Do This?
Functional Programming in C# 3.
CodeKata: Code Kata
Anti-Aliased Line Drawing
First, let's start with an example to show why we want to use anti-aliased lines. The lines on the left are drawn with something like Bresenham's line algorithm. The lines on the right are drawn with an extended form of Bresenham's which anti-aliases. They are shown both at normal size and 4x zoom.List of algorithms
Acknowledgements: This article is based on the work of Peter Sanders and Roman Dementiev . You can find the full source code presented here in their STXXL library (STL library for large data structures), Peter Sanders' paper and the accompanying source code . Warning: If you are of sensitive nature either regarding computer science theory highly practical program optimization then I recommend you to stop reading this article at once.

