On Tue, May 01, 2012 at 06:55:35PM +0100, Davide Della Casa wrote:
> Maybe we could add a special "wave" or "wavy" variable that contains the
> equivalent of sin(millis()/1000 ). To be determined whether it should wave from
> -1 to 1 or from 0 to 1, might depend how it behaves in the sketches.
>
If you do that, and maybe have other time-based conveniency functions
it might make sense to also introduce a "tempo" function or similar
that sets the variable that is 1000 in your example here?
Just thinking out loud, I'm not sure this is a good idea; making
(and keeping!) things simple is hard.
Yours,
Kas.
Received on Tue May 01 2012 - 19:24:54 BST