Created
June 14, 2011 12:49
-
-
Save joelturnbull/1024824 to your computer and use it in GitHub Desktop.
East-Facing StarMap Rendering
This file contains 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
StarMap>>renderContentOn: canvas | |
self generateStarCollection renderStarsOn: canvas. | |
StarCollection>>renderStarsOn: canvas | |
stars do: [ :aStar | aStar renderHtmlOn: canvas ]. | |
Star>>renderHtmlOn: canvas | |
canvas text: name. | |
canvas text: x. | |
canvas text: y. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment