And it works great, except that once I begin doing many transformations using many instances generated by jit.gl.multiple, things slow down and the 3d transforms are the reason for the slowdown (as far as I can tell).
Here’s just a sample of how I am using the Sylvester library.
this is a truncated js snippet:
var rightVector = codeObj.rightVector.multiply(-20.*Math.sin((p + 1) * time / 1000));
var downVector = codeObj.downVector.multiply(-30.*Math.sin((p + 1) * time / 1000));
var forwardVector = codeObj.forwardVector.multiply(-90.+codeObj.forwardAccumulation);