simple maths to turn phasor ramp into bell-ish curve
Hi
I can turn a phasor ramp (0-1) into a nice curved and synced window, thanks to either cycle~, cos~ or sin~. For reasons that I won't bore you with, I'm trying to do it using only MSP maths operators (!-~, +~, *~, %~ etc).
For example, one way is:
phasor -> [* 2] -> [!- 1] -> [* itself] -> [!- 1]. Other ways have revealed themselves, but I'm just wondering if there was a more elegant (less objects) way?
As usual, this is not a critical issue, just musing.
Peace, as always
Brendan
. . . . note to self: look at Gregory's easing/tweening formulae!!
this is disgusting and obviously not the correct way to do it but i thought it was pretty funny. (at least, i had fun hacking it together quickly)
You have a strange idea of the word 'fun' LOL
Nice cosine tho
ps did you check out Gregory's easing/tweening patches?