Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).


Then 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/

It's been on HN before ( https://news.ycombinator.com/item?id=44100148 )




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: