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

Because the page is mutating the CSS "left" property which is known to be extremely slow (should have used translate), and also creating/removing the dom elements, which is also slow. That Townscapes you saw was probably running over WebGL, you can use 2D over WebGL for the speed benefits with libraries like PixiJS (or from scratch but that's not recommended)


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

Search: