by joejohnson · 15y ago · 0 comments
I couldn't tell if he thought of this method, but it is a quick way to draw a circle.
Think of the article as a bunch of ways to draw circles, and you can make up something based on what device you write your code for. :)
Drawing the circle as points using the last function in the article, rather than 2 concentric fills would be faster unless you have some unique hardware for it. :) Disk filling can be implemented in a fragment shader by testing each point against the implicit equation. Such testing is easily parallelized.
You are a clever thinker nevertheless. :)