With Canvas, we want to achieve three things in the ready() function:
function ready(error, routes, airports) {
if (error) throw error;
// 1) Draw the background scene
// 2) Calculate plane positions
// 3) Animate and render the planes
}
With Canvas, we want to achieve three things in the ready() function:
function ready(error, routes, airports) {
if (error) throw error;
// 1) Draw the background scene
// 2) Calculate plane positions
// 3) Animate and render the planes
}