Note: you will need to refresh the page for the service worker to kick in.
The orange tiles in the map above are generated client-side using a service worker.
The service worker intercepts tile requests, generates a tile image using the Canvas API, then serves the result.
Learn more about this technique in my article Using a Service Worker to generate diagnostic XYZ tiles on Medium.
By Joel Malone (joelmalone.com.au)