changed "pixel" to "color"
changed render to return Uint8ClampedArray