How to declare a constant in Processing editor & p5.js? (reported issue)

Just to note, the code you provided is an MCVE. It allows to demosntrate your approach, and it could be use to reproduce the problem, if any.

Kf