Live data from Hacker News

Toaster: Pure CSS 3D Editor

petertyliu.github.io

21–30 of 38 posts

Re: Toaster: Pure CSS 3D Editor

#23

Creator here, thanks for sharing my link! I was going to do a Show HN when it was more polished, but publicity never hurts :)

Btw, could someone more knowledgeable than me explain why the app works ~okay on Chrome but works at like 2 fps on Safari? What, if anything, can I do to fix this? I'm guessing it has something to do with how Webkit's rendering engine works, but such things are beyond me

I'm doing fine on Safari. Sitting around 30 fps for me during moves etc. (Safari 16.1 on MacOS Ventura; M1 Pro)

Re: Toaster: Pure CSS 3D Editor

#25

The models aren't looking right on mobile (Android, Chrome). But maybe it wasn't intended for mobile optimization. Nice proof of concept regardless!

they look fine for me on chrome and firefox mobile, but they don't rotate properly on firefox, the rendering just glitches out till i stop rotating it

Re: Toaster: Pure CSS 3D Editor

#28
Very cool. The performance is what it is because the everything is being treated as nodes in an html document. There is a lot of overhead in making that work.

Does anyone have a link to examples of the inverse? Like, "2d, html-style text documents, but implemented entirely in canvas".

Re: Toaster: Pure CSS 3D Editor

#29

Very cool. The performance is what it is because the everything is being treated as nodes in an html document. There is a lot of overhead in making that work. Does anyone have a link to examples of the inverse? Like, "2d, html-style text documents, but implemented entirely in canvas".

Yes - Google Docs implements the document page rendering via canvas. It replaces the previous implementation which used HTML for layout.

https://zapier.com/blog/google-docs-canvas-based-rendering/

https://workspaceupdates.googleblog.com/2021/05/Google-Docs-...

Re: Toaster: Pure CSS 3D Editor

#30

Very cool. The performance is what it is because the everything is being treated as nodes in an html document. There is a lot of overhead in making that work. Does anyone have a link to examples of the inverse? Like, "2d, html-style text documents, but implemented entirely in canvas".

For your inverse example, isn't that how Flutter renders?
Post reply on HN