I'm trying to put together a sketch to give to students as part of a very simple "intro to Processing" project in a non-programming class. One of my collaborators has built a Max/MSP abstraction that allows the user to draw a curve and use it essentially as a function (ie, the curve represents the value of a parameter over 10 seconds; at each frame/sample, get the value of the curve and pass it to whatever it's controlling).
Is there any existing UI code that would let me generate something like this quickly in Processing? Ok if it's a separate sketch that could save to a text file (or send midi/OSC cc data).
I have no trouble telling the students that they must set up curve points in a text file or something, but if possible I'd like to provide equivalent functionality..