Magenta is 0, Red is 1, Green is 2, Blue is 3, Bad Read is -1. (If all readings are -1, then your browser might be fuzzing color reads)
Fractal Walk that will yield the mouse position (only valid when starting from 0 or combined with previous data):