Method: pixelData

Retrieves pixel data from x,y texture coordinate (starts from top-left). Important: If the texture has a cross-domain url, the image host must allow cross-origin resource sharing or a security error will be thrown. Reference: https://blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
pixelData (Number x, Number y)
  • Numberx
  • Numbery
Returns Array [r,g,b,a] Pixel data.
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point