Created
September 19, 2012 10:38
-
-
Save metametaclass/3748927 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (println (str "<html>")) | |
| (println (str "<body>")) | |
| (println (str "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">")) | |
| (doseq [yr (range -20 20 )] | |
| (let [[y dy] (if (< yr 0) [(- 0 yr) "n"] [(+ 1 yr) "s"])] | |
| (println "<tr>") | |
| (doseq [xr (range -35 50 )] | |
| (let [[x dx] (if (< xr 0) [(- 0 xr) "w"] [(+ 1 xr) "e"])] | |
| (println (str "<td><img src=\"" y dy x dx "_res.png\"></td>") ))) | |
| (println "</tr>") | |
| )) | |
| (println (str "</table>")) | |
| (println (str "</body>")) | |
| (println (str "</html>")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment