Blog post: https://austinhenley.com/blog/coord2state.html
HN discussion: https://news.ycombinator.com/item?id=44175356