News for hackers. Stuff that matters.
Re:Zoomquilt 2 (2007) by TheCabin on Monday December 28, 2020 @06:10AM (#25558298)
The website says "ZOOMQUILT 2 An infinitely zooming painting created in 2007" (Version 1 is from 2004) and on both pages it says "A project by Nikolaus Baumgarten". So it doesn't seem to be the case that we compare two eras of web-dev here.
Re:Zoomquilt 2 (2007) by ricardobeat on Monday December 28, 2020 @07:22AM (#25558646)
Indeed, the original was in Flash, it was only ported to canvas much later.

I can't even notice the load on the system - Chrome's task manager tells me it's using 10% CPU, and I'm running on a 4k monitor.

EDIT: just tested with Firefox on MacOS and it's incredibly choppy and CPU-hungry. the `drawImage` call always goes over budget for RAF, there are a ton of open issues about it: https://bugzilla.mozilla.org/show_bug.cgi?id=1602299

Drawing at half scale gets it back to 60ms with time to spare:

    window_w = w * dpr / 2;
    window_h = h * dpr / 2;
Re:Zoomquilt 2 (2007) by coldcode on Monday December 28, 2020 @09:18AM (#25559318)
Seems fine on Safari for me.
Re:Zoomquilt 2 (2007) by ricardobeat on Monday December 28, 2020 @10:40AM (#25560007)
60fps*