ColorWeb-CG
ColorWeb-CG copied to clipboard
Proceed with `Float16Array`
Float16Array
is proposed in TC39 at Stage 1. Can we move in the direction of advancing that?
Choice of
Float32Array
forImageData
There does not exist a
Float16Array
type, and so it is not an option. The only other floating-point type,Float64Array
, is of unnecessarily high precision.
https://github.com/w3c/ColorWeb-CG/blob/14bffcb85327b011026def4f7ebf9b88e724afad/canvas_float.md#choice-of-float32array-for-imagedata