Generative supports the most popular creative coding libraries. To select a library for your code, uncomment the one you want to use in the <head>
section of the index.html
file.
Copy <head>
...
<!-- p5js@1.5.0
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.5.0/p5.min.js"></script>
-->
<!-- c2.min.js@1.0.0
<script type="text/javascript" src="https://cdn.generative.xyz/ajax/libs/c2/1.0.0/c2.min.js"></script>
-->
<!-- chromajs@2.4.2
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/chroma-js/2.4.2/chroma.min.js"></script>
-->
<!-- p5.grain.js@0.6.1
<script type="text/javascript" src="https://cdn.generative.xyz/ajax/libs/p5.grain/0.6.1/p5.grain.min.js"></script>
-->
<!-- threejs@r124
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r124/three.min.js"></script>
-->
<!-- tonejs@14.8.49
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/tone/14.8.49/Tone.js"></script>
-->
...
</head>