This 
[website](http://forum.nim-lang.org///blog.otoro.net/2015/06/19/neural-network-generative-art/)
 showed how you could use neural networks to generate some art. I friend of me 
wanted to have it in realtime, and used my Framework to implement it on the 
GPU. It was done on two evenings, but I think the result is presentable, here 
is a tiny screenshot from my pc with mesa software rendering. But with the 
correct GPU, it can run smooth 57FPS on a 4k monitor (yes 57, not yet 60). This 
program is fragment shader bound, meaning that for each pixel a neural network 
is evaluated, with 8 layers 16 nodes each.
    

If you want to run this program, you should be able to do so by cloning, and 
running the example in the examples folder. But there is a bug in the `glm` 
dependency. If you see the compilatin crash, you have to replace four `float` 
types with the generic type `T`.

Reply via email to