Made this using Compositional Pattern Producing Networks (CPPN). Given arbitrary inputs, these networks can generate high-res images (of arbitrary dimension). I connected music and beats to a 'latent vector', which are the inputs of my model which I vary frame by frame to generate animations.
Yes! As a matter of fact your code was one of the first tutorials I started with to get my hands on CPPNs! Here is the list of sites I used to set me up:
will you be doing a writeup yourself? looks beautiful, I would love to be able to recreate it, but I don't know if the materials you used will be enough to get me going.
or alternatively, maybe I can message you about it someday?
I was thinking about writing things up at some point though it would be my first! I think the brunt of my contribution came from how I chose to change my latent vector as well as small tweaks to the neural network model.
But since that might take some time, feel free to reach out and message me if you'd like to try your hand at this stuff. I can give you some of the code I've been using to help jump start things, though it's an absolute cluster fuck at the moment!
sweet, might take me 2-3 weekends before I can take a stab at it, but it's noted down safely and I'm quite certain I'll do it eventually. thanks for your willingness to help!
Hmm, not sure if it's an alternative to cellular automata. Depends from where you're coming from, cuz CPPNs have been used to generate neural networks which then are embodied in some kind of agent, but that's not exactly what cellular automata is as far as I know.
I think I know where your head's at, and at the moment on my personal PC it can't run live, but I am almost positive that with the right hardware and efficient use of the algo (which I have definitely not been able to maximize) that it's entirely possible.
At the moment each 512x512 frame takes about 3 seconds to render. So an order of magnitude speed up and you can have live generative art driven by music.
Kind of expected it wouldn't tbh. The little experience I have with neural networks have shown me their power and limitations. Still would be nice to have some live generation. I've hit a wall with my live visuals.
I used to mess with live visuals in after effects and cinema 4d as a hobby and I know the wall you're talking about. These CPPNs have really impressed with me with how fast they are, I think someone more competent could actually optimize these to be live but it's out of my ability at the moment.
This is really cool, I make magic eyes (hidden 3d images in pattern). Do you mind if I used this in a build? I'll be posting your insta link as part of my build post.
The magic eye will appear fairly similar to your post, it would be a very similiar pattern, repeated several times across and down (shrunken and stretched), with the music playing.
Not at all, feel free to mutate these things as you wish, though I'd definitely appreciate that you link to the original as well, as you mentioned you intended :)
6
u/[deleted] Jan 25 '19 edited Jan 25 '19
Made this using Compositional Pattern Producing Networks (CPPN). Given arbitrary inputs, these networks can generate high-res images (of arbitrary dimension). I connected music and beats to a 'latent vector', which are the inputs of my model which I vary frame by frame to generate animations.
edit: if anyone would like to see more of these things I post fairly regularly on my Instagram: https://www.instagram.com/psych_ai_delic
4
u/Xabdro Jan 25 '19
Can this code run in real time to music?
2
u/3dsf Feb 18 '19
This is really cool, I make magic eyes (hidden 3d images in pattern). Do you mind if I used this in a build? I'll be posting your insta link as part of my build post.
The magic eye will appear fairly similar to your post, it would be a very similiar pattern, repeated several times across and down (shrunken and stretched), with the music playing.
2
u/[deleted] Jan 25 '19
Nice