r/functionalprogramming • • Jun 17 '24

Question Generative art and functional programming languages

What were your experience with generative art domain in your favorite functional programming languages. I wonder if functional languages can simplify and make the process much more elegant

7 Upvotes

33 comments sorted by

View all comments

Show parent comment

2

u/inazuma_zero Jun 18 '24

Ik a bit about grammar of languages that's why my immediate thought was isn't this type of grammar a little less powerful than a fully blown turing complete language. I'd absolutely hate it if the art I'm making starts getting repetitive. AI art looks horrendous most of the time because of this. But I'm not sure maybe context free grammar could be fully capable even if they were a little less powerful than a turing complete language. That's what I was trying to ask, if they were fully capable in this domain because we're not trying to describe every situation to our program. We give it a simple set of rules and the program creates works of infinite difference similarly to how a fractal would work (infinite complexity from simple rules)