I\'ve a screen being redraw every 25ms, and images are flickering, here is my code
var FRAME_RATE = 40; var intervalTime = 10
Load all images and other data before draw and storage them inside array. Better use requestAnimationFrame. Remember, getting JSON (or other data) can take some time.