Closed mike8625 closed 8 years ago
It is pretty hard to understand what you are aiming for Try var prop = new Propeller(node); prop.angle = 45
sorry, my English is bad. var prop = new Propeller(node); prop.angle = 45; it can work but it has no animation; prop.angle = 45; ----> 0 -> 45; i want: 0->1-2-> 3-->4->....->45...... just like css keyframes xxx 0%{transform: ratate(0)} 100%{tranform: rotate(45)};
use tween.js for smooth changing https://github.com/tweenjs/tween.js/