You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • No problem - by default g.buffer is an untyped arraybuffer, so ideally you make it into something typed:

    var g = Graphics.createArrayBuffer(8,8,1);
    // ...
    var a = new Uint8Array(g.buffer);
    a[0]
    // you can still change 'g' and the values in 'a' will change too
    
About

Avatar for Gordon @Gordon started