Help in P5.js (for fun program)

Welcome to the Processing Foundation Forum! Your post has been edited to format the code for better readability. Please review our FAQ for guidance on posting code. Thank you.

ezgif.com-gif-maker (1)