Skip to content

A language to describe drawings. An active matrix. Slow and complex. Haskell DSL.

Notifications You must be signed in to change notification settings

karen-pal/menades

Repository files navigation

M(é)nad(e)\s

An active matrix,

and a language to describe images. Built on top of Haskell.

Takes image seeds and generates new images through transformations,

if you dare to try.

slow and complex digital drawing.

Prerequisites

Install stack->haskell if you haven't already,

Ref

Install the haskell library gloss and its dependencies:

stack install gloss

More info

Read about the history of technology and its relation to "humanness".

Compile with stack

stack ghc -- Main.hs

Draw

./Main

More info

Seed details

Seeds have to be bmp files. In Linux, you can use the imagemagick tool to convert a png to bmp using the command convert <img-name>.png output.bmp

bmp files generated in Windows are known to have encoding problems.

Hyperparameters

I'll give you a few clues:

  • transformation currently being drawn is ejemplo in Basica/FromFile.hs

  • dimensions of canvas in which She draws. Main.hs:85

  • background color in initial config: Main.hs:40

Forgive dead code, I have no burial ceremonies put in place...

More Information

To read more about this project, consult these slides

About

A language to describe drawings. An active matrix. Slow and complex. Haskell DSL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published