Open shiffman opened 8 years ago
I like this idea and I have been thinking of a similar feature. I was thinking of implementing it this way:
The advantage to this approach is that it would not require any modifications to p5-widget.js. The disadvantage is that it requires that someone write and test this wrapper code. If I get that going, I'll be happy to share.
FYI, my site is here: http://library.meritology.com/processing/chapters/2-codebox
Maybe related to #54? I'm working on some online "quizzes" (self-paced, take-home) for students to do to check their knowledge for our fall course at ITP. You can see a draft here:
http://shiffman.github.io/ICM-Quizzes/week1-drawing/ https://github.com/shiffman/ICM-Quizzes
One idea I have is for the widget to show a "end result" that the student has to try to match. So the widget would appear with the running canvas, but no code. Then the student would write the code and hit run to see if they can get the matched result. Perhaps there would be a way to "reveal answer".
I'm not sure if this is a feature that makes sense for the widget or whether this is really a design question and I should just embed a canvas above the widget as the "target".
But throwing this out there in case you have any clever ideas.