6 ms·
You can have a dynamic camera with 3D CSS only and no JS. The trick is move the scene instead of the "camera". CSS Doom uses this technique (although unlike the
by semolino 4mo ago
You can have a dynamic camera with 3D CSS only and no JS. The trick is move the scene instead of the "camera". CSS Doom uses this technique (although unlike the project I'm working on, it relies heavily on JS for the interaction logic).
- capitainenemo 4mo agoThen there's "minecraft in CSS" which uses invisible form elements for camera rotation and works with no JS at all. https://benjaminaster.com/css-minecraft/ https://benjaminaster.com/css-minecraft/ It's been on HN before ( https://news.ycombinator.com/item?id=44100148 https://news.ycombinator.com/item?id=44100148 )