/generative-crystals

Extended generative design system to create crystals, based on Matthew Epler’s ‘Generative Design Systems with p5.js’

Primary LanguagePythonMIT LicenseMIT

Generative Crystals

This is the result of me working through Matthew Epler’s YouTube series Designing Generative Systems. You can find his code here and some of the details of what I changed and learned here.

12 generatively created bicolor crystals on a 3⨉4 grid

Build

$ npm install
$ npm start

Then go to the build folder and open index.html in your favorite browser (yep, just a plain HTML and JavaScript file—no dev server needed 😉).

If you need a minified version run

$ npm run build

Model

The model is a DCGAN trained with tricolor crystals.

  • Machine used for training: NVIDIA Tesla V100 with 1 GPU in Google Cloud
  • Number of images used for training: 3023

Model trained:

1 epoch

1 epoch training

50 epoch

50 epoch training