File size: 248 Bytes
6cd9596
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
function additionWithStart() {
    var numAdditions = 1e4;
    
    for (var i = 0; i < numAdditions; ++i) {
        var currentTween = new TWEEN.Tween({a: 0.0});
        currentTween.to({a: 1.0}, 1.0);
        currentTween.start();
    }
}