I have a fast Fourier transform (FFT) visualization using canvas that displays data at a high speed. My goal is to enhance the code so that I can have 16 browser windows open simultaneously, each running at 60 frames per second or close to it. Currently, my setup only achieves 5 fps when all 16 windows are active on my machine.
I am wondering if there are any methods to improve the performance of my drawing code for better framerate results.
Currently, I am able to achieve 60 fps with up to four browser windows open simultaneously, but the performance significantly drops after that. My current approach involves loading files into an array buffer and manipulating the data points to draw them in real-time using drawFFT() function. Do you have any recommendations on how I can boost the fps performance when multiple browser windows are running?