You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This includes a fix for a passive event listener warning that the browser would give on the ontouchstart event, as well as an error-checking mechanism in case the tensor variable was undefined in the setTensorUniforms function. The twgl.js dependency also received a major version bump to get the latest library features.
Added FPS limiting support, to gain additional performance when used in conjunction with other canvas elements on the page. Also added input validation for the powerPreference types.
Changed the default power mode from "low-power" to "default", allowing the client's machine to decide what the device is capable of and adjust accordingly.
Added the powerPreference option to configure the performance level of the WebGL context, and changed the default setting to "low-power" instead of "high-performance".
hexells now checks for errors getting the WebGL context from the canvas, either because the browser does not support it or because another context has already been used on the element.
This release ignores the Browserify code in the final package on npm. The package size was much more bloated than it should be because of the Browserify bundle, but this should drop it from 3.14 MB to hopefully much lower.