html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

/* p5 canvas */
canvas {
  display: block;   /* حذف فاصله زیر canvas */
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover; /* اگر خواستی کش نیاد */
}