Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.67 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.67 KB

al-gorey-thms

A collection of delightful algorithms and dark implementations
(reminiscent, to this author, of Edward Gorey's illustrations).

Contents


Fibonacci: a wtfjs implementation based on

js> +[] 
0

Sequitur: an implementation in about 300 characters of Perl, found in a footnote of Surreptitious Software.

perl sequitur.pl abcdbc  
perl sequitur.pl aabaaab

MinRay: a ray tracer the size of a business card in 1337 bytes
s.a. Fabien Sanglard's analysis and Paul Heckbert's minimal ray tracer.

c++ -O3 -o minray minray.cpp  
./minray > aek.ppm

HelloWorld: a Hello world program twining round invisible unicode characters.

ruby hello-world.rb

Lovebible: Charlie Stross' Markov chain generator, originally seeded with the King James Bible and the complete works of H. P. Lovecraft. ( The King James corpus was copied from here and Lovecraft from here. )

cpan Algorithm::MarkovChain
perl lovebible.pl 2> /dev/null