Help in P5.js (for fun program)

Trying not dying oops.