Evaluating the Discriminator
Assuming that we have just drawn pixel (x, y), the discriminator tells us if we should advance y on the next step.
Resulting in the new coordinate (x+1, y-1).
When y is expressed in terms of x we make this determination by rounding each
function evaluation (i.e. by adding 1/2 to y and truncating). We can do the same thing
with this implicit function.
If the result >= 0 then we advance y, otherwise we stay at the old y value.
We can also express the new value of f(x,y) incrementally:
Initiallly:
|