Skip to content

Instantly share code, notes, and snippets.

@yurivish
Last active August 29, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yurivish/10085175 to your computer and use it in GitHub Desktop.
Save yurivish/10085175 to your computer and use it in GitHub Desktop.
Artistic design with fractal matrices
NB. http://link.springer.com/article/10.1007%2FBF01908446#page-2
iter =: monad : '(2 * 0 1 { $ +/~y) $, +/~y'
m =: 2 3 $ 0 _4 1 1 _3 2
NB. random matrix with entries from _10 to 10:
NB. m =: 2 3 $ (? 6 $ 20) - 10
viewmat iter^:4 m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment