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
Colors are currently parsed with csscolorparser. This dependency forces a bundling step with rollup-plugin-commonjs. Also, default and constant values are left as CSS strings, requiring a second parsing step during rendering.
Proposed changes:
Switch to d3-color for parsing. This is a modern, well-maintained ES module, that will eliminate the need for a build step
Consider d3-interpolate for interpolation? (or is this too heavy?)
Convert all colors (including constants and defaults) to 4-element arrays of clamped floats, suitable for use in WebGL
The text was updated successfully, but these errors were encountered:
Fixed in 671173f : now returning all colors as 4-element arrays of clamped floats.
Interpolation is still linear in RGBA, will leave this to a different issue.
Colors are currently parsed with csscolorparser. This dependency forces a bundling step with rollup-plugin-commonjs. Also, default and constant values are left as CSS strings, requiring a second parsing step during rendering.
Proposed changes:
The text was updated successfully, but these errors were encountered: