dmotz / oriDomi

🪭 Fold up DOM elements like paper
https://oxism.com/oriDomi
MIT License
2.41k stars 207 forks source link

Is there a smooth way to apply effects angle by angle? #33

Closed matth3wga0 closed 10 years ago

matth3wga0 commented 10 years ago

Hi dmotz,

oriDomi is awesome, but it can only be interactive with dragging by mouse and touch. I want to apply effects by scrolling to change the angle continuously, I disabled the animation speed to 0 and set ripple to false, but it's almost frozen.

Thanks!

matth3wga0 commented 10 years ago

Sorry, I intended to comment but I clicked the close button.

I applied these effects in mousewheel instead of scroll event from your comment on issue #32 .

matth3wga0 commented 10 years ago

Oh, I found my transition fps is too low, it's smoothly now by increasing the fps.