HN Demo app renders 2D canvas in web worker - https://digital-rain-hn.zouhir.codes
This is a personal experiment to render canvas animation off the main thread using Web Workers and transferControlToOffscreen
This spec is fairly new and not widely supported yet, more info on MDN
- This app uses ⚛️ Preact via preact-cli
- HN API hosted on firebase by some awesome person
- Inspired by a conversation with my awesome work colleague Bo Cupp
- Canvas animation is from this Codepen by Ebram Marzouk.