Static hexRGBToStatic hexStatic rgba2abgrStatic hexStatic loadStatic bitmapsConvert an array of ImageBitmap objects to raw RGBA pixel arrays.
Useful for preparing noise or animation frames for GPU renderers.
const bitmaps = await Utils.loadImagesOrdered(urls)
const frames = Utils.bitmapsToPixelData(bitmaps, layer.width, layer.height)
Static load
Add alpha component to a RGB string