I had intended to use something like this in the doodle I posted recently, but I hadn't quite figured out how to implement it. The code is heavily commented, and the routine that handles drawing the gradient weighs in at only 80 tokens, relying on an external variable r to control the radius of the circle.
[Please log in to post a comment]