Skip to content

silky/simple-cppn-deeplearn.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

Check it out

You can play around with a static image generator here, or the one that does interpolation here.

Usage

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!

Why?

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.

About

Implementation of a (very simple) CPPN in plain JS + deeplearnjs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published