-
Notifications
You must be signed in to change notification settings - Fork 34
Roadmap and wishlist
Once we have moved to a card-based display for per-expression "output", I think it would be interesting to add the interval
function from cells. The implementation I have in mind is one where the expression thus wrapped would run repeatedly, each time updating the component view that it produces.
We would want to make it such that:
- we never have more than one interval running for any code block
- re-eval'ing the code would (on success) switch to the new function, on failure kill the interval and switch to an error card
- the card for an active block would have a "stop sign"-ish icon to stop the interval
- some dynamic variables are bound in the interval fn, like
*mouse-x*
and*mouse-y*
(adjusted so the card's top/left is 0/0)
It would also be nice if each interval
'd expression kept a counter from when it started running, inc
ing it at each callback. Maybe *tick*
? This would make for a nicer Processing-like experience for animations.
A publishing mechanism not just for the source code of a buffer (i.e. similar to our current gists), but rather for the "card view" of a project, which is then like a micro-webapp.
It would be nice if selecting and copying a shape (and similarly with other special output) from the output pane copied the source code to produce it.