let debug = false, viewPort = {x: 0, y: 0, v: 0}; let colorPicker = null; function setup(){ noCanvas(); colorPicker = new ColorPicker(null); colorPicker.hex = "#F00"; colorPicker.updateFromHEX(null, true); } function draw(){ if (debug) debugInformation(); }