4 ms·
Just a funny note—there’s a button at the end to switch between HTML and Canvas. I think it is neat how little difference it makes… normally. But with iOS Safa
by bee_rider 2y ago
Just a funny note—there’s a button at the end to switch between HTML and Canvas. I think it is neat how little difference it makes… normally.
But with iOS Safari + Dark Reader, at least on my side, the HTML page is turned into dark mode with Dark Reader, while the canvas page is not. So, it basically ruins the wow factor, haha.
But it still looks nice.
- deleted 2y ago[deleted]
- spiderfarmer 2y agoText selection and zoomng is also problematic.
- anonzzzies 2y agoZooming is indeed an issue but selection works fine for me on safari ios.
- Klaster_1 2y agoOn Windows/Firefox, text selection doesn't work. Also not working is Home/End and wheel click scrolling. Cool project otherwise.
- red_trumpet 2y agoMy Firefox on Linux zooms fine with both renderers. Text selection doesn't work though. Also the cursor doesn't adapt when hovering text, a button etc.
- wffurr 2y agoIt won’t help with dark mode, but the canvas-place-element proposal (https://github.com/WICG/canvas-place-element https://github.com/WICG/canvas-place-element) should allow those interactions on canvas-rendered text backed by a text element placed under the canvas.
- sgt 2y agoIn Chrome, it selects sometimes but sometimes it seems to unselect itself, probably due to the animation happening somewhere else on the page.
- sgt 2y agoThe HTML renderer is definitely faster in Chrome. Why is that, I wonder? The Canvas one is also reasonably fast, but noticable in that "High performance" animation and also when scrolling.
- varispeed 2y agoIt says: > There's even an HTML renderer - you're looking at it right now! Jokes on them, I already switched to Canvas renderer when I read it.