kenperlin / chalktalk

MIT License
2.12k stars 137 forks source link

Adds ability for “sketch libraries” to be defined #16

Closed Kronopath closed 7 years ago

Kronopath commented 7 years ago

These are Javascript files meant for use in defining common functionality and shared code between multiple sketches. Adding one is as simple as adding a new js file to the “sketchlibs” directory. All sketchlibs are guaranteed to load before any sketches are loaded.

This pull request comes with a simple speech synthesis library as an example library, based on the work that @KTRosenberg showed off today.