2 ms·
Totally doable if you eliminate the huge bottleneck caused by marshalling native types in JavaScript into the limited type system of XML (only strings and child
by malandrew 12y ago
Totally doable if you eliminate the huge bottleneck caused by marshalling native types in JavaScript into the limited type system of XML (only strings and children).
For example, setting a CSS matrix3d transform on a DOM element currently involves taking a JavaScript array of 16 floats and stringifying it to set the element.style.transform. The browser then takes this string and parses it back into an array of floats. Eliminating these type marshalling shenanigans will make 90 fps far more achievable.