Create a separate thread that will do the action every 90ms, but have your main thread do the re-painting.