https://github.com/sphaso/random-squares
A Diagram implementation of Random Squares by Charles Csuri
https://github.com/sphaso/random-squares
art diagrams haskell random recode
Last synced: 4 days ago
JSON representation
A Diagram implementation of Random Squares by Charles Csuri
- Host: GitHub
- URL: https://github.com/sphaso/random-squares
- Owner: sphaso
- Created: 2017-06-04T13:11:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-04T13:22:45.000Z (about 9 years ago)
- Last Synced: 2025-11-15T15:49:26.027Z (8 months ago)
- Topics: art, diagrams, haskell, random, recode
- Language: Haskell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Random Squares
A [Diagrams](http://projects.haskell.org/diagrams/) implementation of [Random Squares by Charles Csuri](http://recodeproject.com/artwork/v1n2random-squares)
Magic numbers come from [Chris Allick Processing implementation](http://recodeproject.com/translation/chris-allick-direct-random-squares-charles-csuri)
```
cabal sandbox init
cabal install diagrams
cabal exec -- ghc --make randomSquares.hs
./randomSquares -o squares.svg -w 400
```