As in the earlier thread, I would 10000 times recommend against the loadToFloatArray approach. You’ll be transferring multiple megabytes on each iteration, of which only a small percent will have changed, meaning that most of the data transfer is a waste of processor power.
It’s also wasteful to retrieve every sample when it’s likely that a few hundred or thousand samples will be compacted down to a single horizontal pixel.