typemytype / drawbot

http://www.drawbot.com
Other
408 stars 63 forks source link

an animation decorator #404

Open typemytype opened 4 years ago

typemytype commented 4 years ago

something like:

https://gist.github.com/typemytype/e39e68f53ad145993b96a85a9827504b

(posted here as a reference)

justvanrossum commented 4 years ago

Looks nice, but having the "ease" functions as part of the frame object makes them usable in fewer cases than necessary: I think it should be a separate collection of stand-alone functions, where t is passed explicitly.

We should also think about where to place functionality like this: it's higher level stuff that is independent from the backend, so it's compatible with both DrawBot and drawbot-skia. It would be nice if it could somehow be shared. Perhaps a new package called drawbot_addons (which could still be bundled by DrawBot.app of course).