tgetgood / quadratic-residues.cljs
Last updated — forked from rm-hull/quadratic-residues.cljs

Exploring quadratic residues and fixed points with clock arithmetic and digraphs, in Clojurescript with force-directed graph layout provided by arbor.js. Inspired, in part, by http://pi3.sites.sheffield.ac.uk/tutorials/week-8. Defaults to 51 data points, which produces a pleasing digraph, but add a num=X param to the URL to show different rings [where X is a number between 2 and 200 ... 29, 38, 43, 91 and 176 produce some nice digraphs too].

Fork me on GitHub!