GithubHelp home page GithubHelp logo

silky / simple-cppn-deeplearn.js Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 1.0 177 KB

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

Home Page: https://silky.github.io/simple-cppn-deeplearn.js/

JavaScript 85.14% HTML 14.86%
cppn deeplearningjs

simple-cppn-deeplearn.js's Introduction

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.

simple-cppn-deeplearn.js's People

Contributors

hpssjellis avatar silky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

hpssjellis

simple-cppn-deeplearn.js's Issues

lava-lamp mode

here we could just scale the canvas, maybe

and it would just take a random walk in z-space.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.