Okazari / Rythm.js

A javascript library that makes your page dance.
https://okazari.github.io/Rythm.js/
GNU General Public License v3.0
3.93k stars 250 forks source link

Add a dance type playing with border-radius property #40

Closed Okazari closed 7 years ago

ajaymathur commented 7 years ago

Hi, can you please elaborate this feature. :)

Okazari commented 7 years ago

I was thinking about just setting border-radius to let say 0px to 25px depending on the pulse ratio. Here is the dance function signature https://github.com/Okazari/Rythm.js#adding-new-dance-type. I think accepted options should be standards (min, max) and 'reverse' (default would be 25px => 0, reverse would be 0 => 25px)

Do you want to try ?

ajaymathur commented 7 years ago

Sure, I will give it a try.

johnzmon commented 7 years ago

I love it

Okazari commented 7 years ago

Done :)