In the field of computer science - or more specifically that of computer graphics - a lolgorithm is a variation of an algorithm with a generally non-intentional, comical outcome. In some cases a lolgorithm can be developed with the intent of producing amusing results, but it is generally the product of programmer error. The term can also be applied to "hacks": code that was written to to approximate a solution to a problem instead of fixing it.
"I tried to get heat haze working, but I ended up with a lolgorithm"
by PJB January 18, 2006