A WiFi simulator in HTML5 canvas