Invert the ISR and the drawing

ISR is now responsible for calculating the new values, the main loop is
busy drawing them.