Currently, rainbow mode is solved with a fork. A proper pthread might be the better option. Also, currently, its only a running hue, rendered whenever a new frame is rendered. Much better would be a continuously color fade. For this, the actual rendering would be needed to be done in yet another thread, that just takes the current frame and applies the color to it.
Currently, rainbow mode is solved with a fork. A proper
pthread
might be the better option. Also, currently, its only a running hue, rendered whenever a new frame is rendered. Much better would be a continuously color fade. For this, the actual rendering would be needed to be done in yet another thread, that just takes the current frame and applies the color to it.