const defaultSketch = `// liveUpdate function drawMask(detection) { stroke('red') strokeWeight(2) rect(detection.x, detection.y, detection.width, detection.height) } `; const defaultHTML = `
`; const defaultCSS = `html, body { margin: 0; padding: 0; } canvas { display: block; width: 100% !important; height: auto !important; } `; export default function createDefaultFiles() { return { 'index.html': { content: defaultHTML }, 'style.css': { content: defaultCSS }, 'sketch.js': { content: defaultSketch } }; }