Other Creative Libs

As discussed in our notes on APIs and libraries, They Myth of Writing Code from "Scratch", there are a number of other JavaScript libraries out there which abstract some of the brower's more creative APIs. Like the libraries we've discussed so far, like netnet's standard library, moment.js and tone.js, most of these can be included in our project by adding a <script> tag pointing to that libraries code. After that, learning how to use the library is a matter of reading through the documentation page and exploring examples. However, because there are other ways to import libraries in the JavaScript eco-system, getting started with a library can be triky (even when refering to their documentation). Below are some netnet.studio starter templates to get you over that initial hurdle.



A few of the libraries above use the Web's Canvas API. This API isn't too difficult to use without a library though, if what we want to draw to the canvas is pretty minimal/simple, here's the demo from class.



It's worth noting, that there are creative individuals behind the creation of these libraries. Many of these libraries were started by a single artist before an open source community of creative devlopers formed around it to keep devloping and maintaining it. For example, Tone.js was stared by Yotam Mann, Three.js was started by mr.doob (aka Ricardo Cabello), Hydra was started by Olivia Jack and p5.js by Lauren Lee McCarthy (and the p5 editor by Cassie Tarakajian) based on another library called Processing (for Java) originally created by Casey Reas and Ben Fry inspired by an even older library by John Maeda.