Skip to content

Instantly share code, notes, and snippets.

@joelturnbull
Created June 14, 2011 12:49
Show Gist options
  • Save joelturnbull/1024824 to your computer and use it in GitHub Desktop.
Save joelturnbull/1024824 to your computer and use it in GitHub Desktop.
East-Facing StarMap Rendering
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