diff --git a/client/modules/IDE/reducers/files.js b/client/modules/IDE/reducers/files.js index e6f1d35b..6cade0d7 100644 --- a/client/modules/IDE/reducers/files.js +++ b/client/modules/IDE/reducers/files.js @@ -1,20 +1,21 @@ import objectID from 'bson-objectid'; import * as ActionTypes from '../../../constants'; -const defaultSketch = `function setup() { - createCanvas(400, 400); -} +const defaultSketch = `// liveUpdate -function draw() { - background(220); +function drawMask(detection) { + stroke('red'); + strokeWeight(2); + rect(detection.box.x, detection.box.y, detection.box.width, detection.box.height) }`; const defaultHTML = ` - + - - + + +