sketch = ( p ) => {
let x = 100;
let y = 100;
let px = 0;
let py = 0;
p.setup = function() {
p.createCanvas(width, 300);
p.background(0);
p.fill(255);
p.textSize(32);
p.smooth();
};
p.draw = function() {
x= p.mouseX
y= p.mouseY
px= p.pmouseX
py= p.pmouseY
let speed = p.abs(x - px) + p.abs(y - py);
p.stroke(speed,0,0);
p.ellipse(x, y, speed, speed);
p.push();
p.fill(0)
p.stroke(0)
p.rect(p.width-(32*5),2, 150,36, 10);
p.fill('#F3C98B')
p.text(`${p.frameCount}`, p.width-(32*4),32);
p.pop();
};
};