Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't know, for me the fact that this gives you a visualization of a totient is really interesting.

Another really interesting idea is to deliberately change the thing which you are rationally approximating; you don't have to rationally approximate π if you don't want to, that's just if you make steps of 1 radian. Make steps of q radians and you get the denominators for rational approximations of q/π.

This is used in the golden spiral algorithm[1] to evenly-ish distribute points on a sphere, we choose the most irrational number q/π = φ, the golden ratio. Since all of its rational approximations suck, the spirals are as inoffensive as they can be.

1. https://stackoverflow.com/questions/9600801/evenly-distribut...



Something less interesting is testing what the polar plot looks like if you plot the angle in degrees instead of radians. Or, like in this plot, where I defined 10 degrees as exactly one complete turn around the circle:

https://i.ibb.co/59k5dRT/polarplot.png

Slightly more interesting is what the primes look like when one complete turn is defined as 1, 2, 3... 30 units:

https://i.ibb.co/F0GvrSY/polarplot2.png




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

Search: