Variable pollution across objects from class

Hello, Im new to p5.js but am using it via the react-p5-wrapper for data-visualisation within a react webapp…

I can successfully render ‘strings’ to screen such that a string starts off-screen-right at a random yPosition with a random textSizesuccessfully then tracks across screen until it goes off-screen-left to then restart off-screen-right with a new string, a new random yPosition and new random textSize.

However when I implement a ‘class’ so as to render multiple strings at once I run into variable pollution whereby every new off-screen-left update updates ALL instantiated objects (see sketch.js & class.js code below)…