const pane = new Tweakpane();
const params = {
frame_rate: 0,
};
function setup() {
createCanvas(400, 400);
frameRate(60);
pane.addMonitor(params, "frame_rate");
pane.addMonitor(params, "frame_rate", {
view: "graph",
min: 0,
max: 60,
});
}
function draw() {
background("gray");
stroke("white");
noFill();
line(50, 200, 350, 200);
noStroke();
fill(0, 0, 0, 5);
fuzzy_ellipse_2(200, 200, 100, 100, 100);
params.frame_rate = frameRate();
}