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

how is it possible that the canvas seems to be infinite area?


I suspect some type of minecraft style chunking mechanism.


This needs an answer!


There's nothing special about it really. Blobs of text have a grid position, then I set the CSS left/top properties to gridX * gridWidth etc and the scrolling is done by CSS translate on the parent container div. The browser handles it all for me




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: