Shared library for simple functions

@podryna – another possibility, depending on your needs, is to use the built-in “duplicate” functionality of the p5.js web editor.

For any given exercise / assignment, create a template sketch that includes your library code in a separate file. Then have each student create a copy of it to begin editing. They will be able to use any functions in your library because they are pre-installed in the template sketch.

2 Likes