-1:000000000000 | 0:aca96dcfd6fa |
---|---|
1 function addConstraint(blaat) { | |
2 return blaat.v1 | |
3 } | |
4 | |
5 function ScaleConstraint() { | |
6 this.direction = null | |
7 this.v1 = {}; | |
8 addConstraint(this); | |
9 } | |
10 | |
11 function EqualityConstraint() { | |
12 this.v1 = {}; | |
13 addConstraint(this); | |
14 } | |
15 | |
16 function deltaBlue() { | |
17 new EqualityConstraint(); | |
18 new ScaleConstraint(); | |
19 } | |
20 | |
21 for (var n = 0; n<100; n++) { | |
22 deltaBlue() | |
23 } |