Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Programmatically Generate Random Celtic Knots (C++) (github.com/codeplea)
3 points by katkattac on Dec 7, 2016 | hide | past | favorite | 2 comments


I downloaded and ran the binary. It's a pretty neat screensaver! Seems to work fine on Windows 8. It even looks good on multiple monitors, which is impressive for something from 2008.

I wish the author had documentation on the algorithm somewhere. The code has comments, but I didn't see anything that talked about the high level approach. The neat thing is that it makes a giant, random knot, but if you follow each thread it alternatives between going over and under each thread it crosses.


Does anyone know what algorithm this uses?




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

Search: