import { sketch } from "https://esm.town/v/moe/p5"
import type * as p5 from "npm:@types/p5"
export const title = "Hello, World!"
export default sketch(import.meta.url, title)
export function setup() {
createCanvas(500, 500)
}
export function draw() {
background(0)
if (mouseIsPressed) {
fill("red")
} else {
fill("yellow")
}
ellipse(mouseX, mouseY, 180, 180)
}