4 ms·
This is great, but it seems a little slower than the raw box2d. Is it doing anything else on each animation loop?
by toomim 14y ago
This is great, but it seems a little slower than the raw box2d. Is it doing anything else on each animation loop?
- franze 14y agomostly a lot of looping and setting CSS, see https://github.com/franzenzenhofer/box2d-jquery/blob/master/js/src/main.coffee#L327:L352 https://github.com/franzenzenhofer/box2d-jquery/blob/master/... but yes, performance profiling is the next step, also i wonder if position top / position left is faster than transform+translate... any support is welcome