Skip to content

Preact HN with canvas background rendered off the main thread in a web worker

Notifications You must be signed in to change notification settings

zouhir/matrix-hackernews-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix Hackernews Client

HN Demo app renders 2D canvas in web worker - https://digital-rain-hn.zouhir.codes

About

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

Tech Stack & Credits

  • 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.

About

Preact HN with canvas background rendered off the main thread in a web worker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published