Hi there-
Here's an idea for improving the plugin.
The usecase: I'm using p5.dom to add in a slider that controls the animation. I'd like to be able to get that slider value back to the Angular controller. If there was some way pass $scope between the sketch and the angular application, I think the plugin would more useful.
Maybe this is trivial, and just needs a short example, but I'm not sure how to do it.
EDIT: Here's a better way of saying what I'm thinking about:
<p5 sketch="sketchOne" circleSize=45></p>
Could circleSize somehow be passed to the sketch?
Thanks!
Hi there-
Here's an idea for improving the plugin.
The usecase: I'm using p5.dom to add in a slider that controls the animation. I'd like to be able to get that slider value back to the Angular controller. If there was some way pass $scope between the sketch and the angular application, I think the plugin would more useful.
Maybe this is trivial, and just needs a short example, but I'm not sure how to do it.
EDIT: Here's a better way of saying what I'm thinking about:
Could circleSize somehow be passed to the sketch?
Thanks!