For those trying to contextualize this, CindyJS is based on Cinderella, a geometry framework developed by Jürgen Richter-Gebert. He also wrote a book called "Perspectives on Projective Geometry" where he goes into full detail about the mathematics behind this framework.
I had previously created a hackernews thread about this (amazing) book, to see if anyone wanted to do a reading group with me on it, but didn't get many takers: https://news.ycombinator.com/item?id=23371641