Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Christmas – But I Wanted to Program (number-garden-alive.netlify.app)
21 points by cpuXguy 9 days ago | hide | past | favorite | 3 comments




No explanation, just said to wait, I gave it 5 seconds before closing

Thanks — good point. Ideally, the construction of the large array should run asynchronously, with a small animation to bridge the wait. On weaker devices, 5+ seconds can be realistic. The app has a bit of a game-like character and intentionally does a single upfront loading step. For now, I’m keeping it synchronous because I want to be sure it works reliably across all combinations of browsers and devices.

Press ‘N’ or double-click for a new piece.



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

Search: