Skip to content

Instantly share code, notes, and snippets.

@jashkenas
Forked from bnolan/gist:424787
Created June 4, 2010 01:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jashkenas/424789 to your computer and use it in GitHub Desktop.
Save jashkenas/424789 to your computer and use it in GitHub Desktop.
when World.Surface.CANVAS.FORE
g: context.createRadialGradient 0, 0, 0, 0, 0, 50
g.addColorStop 0.4, "rgba(150, 183, 51, 1)"
g.addColorStop 0.9, "rgba(150, 183, 51, 0)"
context.fillStyle: g2
context.beginPath()
context.arc 0, 0, 45, 0, Math.PI*2, true
context.closePath()
context.fill()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment