block by bradoyler 878d0153bd7dd46efdc5310d12a02a86

US Flights animation (Canvas2D)

Full Screen

Animating 3000 Flights using Canvas2D

Source code for animation used in #AirplaneMode

Orange dots = landing
Blue dots = takeoff

Config settings

var landingColor = '#fe761e';
var takeOffColor = '#3081dd';
var lineColor = '#5297ee';
var fps = 60;
var curveFactor = 50;
var speed = 0.99; // between 0 & 1 
var drawLines = true;
var batchSize = 12;

index.html

bundle.js

helpers.js