Cube side code, receiving and displaying the frames