• use fill(0) to init the TemperatureMap

    let TemperatureMap = new Uint8ClampedArray(DisplaySize).fill(0);

    Indeed, I should do so next time - but it won't make any difference with respect to performance and stability.

About