Monday, March 20, 2006
Shakespeare's "Shall I compare thee to a summer's day?" as code
Here's William Shakespeare's Sonnet 18 ("Shall I compare thee to a summer's day?") converted into the programming language ActionScript:
// Sonnet 18: Shall I compare thee to a summer's day?Link (via Digg)
// by William Shakespeare
// ported to ActionScript 2.0 by Satori Canton
//
// Original poem can be viewed at:
// http://plagiarist.com/poetry/915/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;
posted by Cory Doctorow at 08:03:27 AM permalink | Other blogs' comments












