update visualizationGrid with frames from buffer