pink-cords.js
// the color of a pixel on an offscreen canvas.
the color of a pixel on an offscreen canvas.
the color of a pixel on an offscreen canvas .
function Lightgun() {
    this.canvas = document.createElement('canvas');
    this.canvas.style.position = 'absolute';
    this.canvas.style.top = 0; this.canvas.style.left = 0;
    this.ctx = this.canvas.getContext('2d');
    this.ctx.imageSmoothingEnabled = false;
    this.nextColor = 0x1;
    this.keyToColor = {};
    this.colorToObject = [];
  }
function Lightgun ( ) { this . canvas = document . createElement ( 'canvas' ) ; this . canvas . style . position = 'absolute' ; this . canvas . style . top = 0 ; this . canvas . style . left = 0 ; this . ctx = this . canvas . getContext ( '2d' ) ; this . ctx . imageSmoothingEnabled = false ; this . nextColor = 0x1 ; this . keyToColor = { } ; this . colorToObject = [ ] ; }
the color of a pixel on an offscreen canvas.
the color of a pixel on an offscreen canvas .