Wednesday, December 23, 2015
connett circles
martin attractor
Clicking the window adjusts the viewport position; there is also an alternate version with color and animation.
Also, for a certain Rubyist friend, I wrote another lazily-evaluated, colored and animated implementation in Ruby.
Tuesday, December 22, 2015
lyapunov fractals
Tuesday, December 15, 2015
the mandelbrot set
Monday, November 2, 2015
a lava lamp
Wednesday, August 19, 2015
random undirected graphs
I have found it useful to generate random inputs for testing graph algorithms.
Wednesday, July 8, 2015
sqrt 2, visualized
The program makes for an interesting screensaver, but does it follow any pattern, or illustrate any special properties of √2 ? Though I'm no mathematician, from what I've read this seems unlikely. √2 is suspected (but not proved) to be a normal number. This would mean the digits of its expansion (respective to some number base) follow a uniform distribution; no digit would be more likely to appear than any other.
Nonetheless, I'd be curious to see the results of a really long run!
Sunday, June 28, 2015
triangle geometry
Monday, March 30, 2015
primitive totalistic automata
The program input is an integer representing the intended CA rule in base 3.
Wednesday, February 18, 2015
elementary cellular automata
Monday, February 16, 2015
wolfram's random generator
For my own conviction, it was enough to find that the expression sum (take 80 $ rands 5000) `div` 80 produces 2525.
Since each random bit requires computing a full cell generation, this algorithm quickly slows down. I assume more pragmatic implementations solve this by perhaps re-seeding the automaton after some number of iterations.