Toaster: Pure CSS 3D Editor
petertyliu.github.io
petertyliu.github.io
Github repo: https://github.com/PeterTYLiu/toaster
Every part of the model is an HTML element with CSS 3D transform functions; there're no WebGL or canvas shenanigans!
The editing tools are only available on desktop, and performance will be passable at best (nearly unusable on Safari), but that's what happens when you push browser engines to their limits lol. If you find any bugs that aren't already listed in the repo issues, feel free to create new issues.
[0]: https://old.reddit.com/r/webdev/comments/13nc54m/i_made_a_3d...
lol appreciate the honesty, this is crazy though. Mad respect
A feature to export would be great. I tried copying <main> and the CSS but it didn't work. :)
Does anyone have a link to examples of the inverse? Like, "2d, html-style text documents, but implemented entirely in canvas".
https://zapier.com/blog/google-docs-canvas-based-rendering/
https://workspaceupdates.googleblog.com/2021/05/Google-Docs-...
Nevertheless: incredibly cool project!
Should be relatively easy to implement if you use hsl colors and set the lightness as a function of the nodes rotation.
But maybe it wasn't intended for mobile optimization.
Nice proof of concept regardless!
The author here only meant pure CSS 3D rendering, which, while being around for quite some time now, still amazes me a little.
Sounds like a great experience.