Jack Rusher @jackrusher.com · Jan 20

Another edition of oddly aesthetic debug output (this time for a graph drawing package using geometric algebra)…

26 likes 3 replies

?

Replies

rob pike · Jan 21

That looks just like the diagrams I printed in ASCII in 1977 or thereabouts while developing the work for my eventual paper with Gene Stanley on order propagation near the percolation threshold.

Robert Stuttaford · Jan 20

What a pretty bug!

Jack Rusher · Jan 21

The #Clojure code that for this sample: (->> (repeatedly 90 #(* (rand-int 6) (/ tau 6))) (reductions #(+ (vga2d/rotate (e 1) %2) %1) zero) (partition 2 1)) The standard library is quite good, and a dash of geometric algebra makes vector operations pleasant and matrix-free 🙂