<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>p5.js Skull</title><script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.js"></script><style>body{display:flex;justify-content:center;align-items:center;height:100vh;margin:0}</style></head><body><script>function setup(){createCanvas(400,400),background(random(255),random(255),random(255))}function draw(){drawSkull(random(width),random(height),random(10,100),random(10,100))}function drawSkull(r,a,n,o){fill(random(255),random(255),random(255)),noStroke(),ellipse(r,a,n,o),rect(r-n/4,a+o/4,n/2,o/2),fill(0);var d=n/4,e=n/6,l=o/4;ellipse(r-d,a,e,l),ellipse(r+d,a,e,l);var t=n/30,i=o/4,m=a+o/2,c=n/6;rect(r-c,m,t,i),rect(r,m,t,i),rect(r+c,m,t,i)}</script></body></html>