Select creative libraries

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.

index.html
<head>

    ...
    
    <!-- [email protected]
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.5.0/p5.min.js"></script>
    -->

    <!-- [email protected]
    <script type="text/javascript" src="https://cdn.generative.xyz/ajax/libs/c2/1.0.0/c2.min.js"></script>
    -->

    <!-- [email protected]
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/chroma-js/2.4.2/chroma.min.js"></script>
    -->

    <!-- [email protected]
    <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>
    -->

    <!-- [email protected]
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/tone/14.8.49/Tone.js"></script>
    -->
    
    ...
    
</head>

Are we missing an important library? Let us know, and we'll add it.

Last updated