Using deeplearning.js, this is a re-implementation of Generating Abstract Patterns with TensorFlow by the amazing hardmaru! All credit to hardmaru; I've done nothing but (hackily) port the code.
I've done it using no other JS libs, and I haven't written JS for many years, so the code is probably terrible; forgive me!
You can play around with a static image generator here, or the one that does interpolation here.
Clone the repo and open the html file. You should seem something like this:
Refresh for new art!
Take a look in cppn.js
and maybe modify netSize
or latentDim
and see
what it does!
deeplearnjs already has a cppn implementation, but it's in TypeScript and has a lot of bells and whistles. I wanted something simple so I could understand it.