Hacker News new | past | comments | ask | show | jobs | submit login

> 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_fo...

The Devil is in that 543 digit integer. :)

(It's been submitted to HN a few times already.)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: