Hacker News new | past | comments | ask | show | jobs | submit login
Generating artwork with Haskell (kovach.me)
102 points by Homunculiheaded on March 11, 2018 | hide | past | favorite | 6 comments



Super cool! I'm excited to see more FP and determinism in the generative art world. A while back I started trying out deterministic animations, ie (seed, t) -> (shape) rather than (oldshape) -> (shape). It requires a bit more brain-twisting to get started, but it has some really nice properties. Not just repeatability across runs, but frame skips, speed changes, rewinding, looping and composability all get much easier.


This is what I love to see about programming.


Thanks very much :D


Wow, so progressive.

What about the real world mathematical and computational problems?

"Meep (or MEEP) is a free finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems. Meep used Haskell to generate C++ code, after Meep 1.0 Haskell generation droped in favor of handwritten C++ code."

Alright then.


Nice! Reminds me of an algorithm from one of the volumes of The Art of Computer Programming.


His work is based on the Cairo library. It has a big potential for vector drawing but still it's very easy to use and has a very permissive license.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: