CS-foreach / creative-coding-p5js

Teaching creative coding in p5.js
https://cs-foreach.github.io/creative-coding-p5js/
MIT License
1 stars 1 forks source link

`animationStudio.js`: UX is a bit wonky wrt frame jumps & clearing #12

Open phentos opened 3 months ago

phentos commented 3 months ago

Clearing implies jumping to 0 (since that's where the canvas is empty) but actually continues the drawing at the most recent frame. Is there a use case for this, or should clear() just be sugar for jump(0)?

Similarly, jump currently moves the recording frame but not the displayed frame; jump(k) should probably put the canvas into the state at k as well.