Monday, March 27, 2006

Shakespeare For Hackers

This is what Shakespeare would look like to a computer. Doesn't have the same effect, does it?

Shakespeare by Computer

William Shakespeare's Sonnet 18 ("Shall I compare thee to a summer's day?") converted into the programming language ActionScript:

var summer:Object = ;var thee:Object = ;
summer.name = "Summer Day";thee.name = "Thee";
summer.lovelyness = 9;thee.lovelyness = 10;
summer.temperature = 98;thee.temperature = 98.6;
summer.lease = new Date(2006, 7, 31).getTime() - new Date(2006, 5, 1).getTime();thee.lease = new Date(2042, 6, 12).getTime() - new Date(1970, 8, 25).getTime();
summer.complexion = 0xFFCC33;thee.complexion = 0xFFCCCC;
summer.fair = 10;thee.fair = 10;
summer.getValue = function():Number

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home