I want to get color of specific area of canvas (for example, from camera) How i achieve that? Thank you
Develop games in your browser. Powerful, performant & highly capable.
At the end I pasted the camera (media plugin) into the Canvas plugin and then I calc a median of RGB in a small area... it works but maybe it works better with HSL because of non-linearity of RGB https://en.wikipedia.org/wiki/SRGB