Add a way to store state between brush executions #76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently there's no way to remember something between executions of your brush. There should be a function that can initialize, store, and modify state. Something like
init
gets called to initialize a state valueT
, which is remembered across invocationsdraw
returns a list with a scribble to be drawn, along with an updatedT
Unsolved problems: