Settings

Theme

Programmatically Generate Random Celtic Knots (C++)

github.com

3 points by katkattac 9 years ago · 2 comments

Reader

scott_ni 9 years ago

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection