2 ms·
> iterate over the bounding box for the circle and just use r^2 as a threshold on x^2+y^2 to determine whether a pixel should be on or off - Jeff Tupper's Graf
by kazinator 9y ago
> iterate over the bounding box for the circle and just use r^2 as a threshold on x^2+y^2 to determine whether a pixel should be on or off -
Jeff Tupper's GrafEq software does this kind of plotting.
Over the development of this, Jeff Tupper came up with a quine concept: a formula whose f(x,y) thresholded plot reproduces an image that can be interpreted as its math notation.
See here:
https://en.wikipedia.org/wiki/Tupper%27s_self-referential_formula https://en.wikipedia.org/wiki/Tupper%27s_self-referential_fo...
The Devil is in that 543 digit integer. :)
(It's been submitted to HN a few times already.)