Hacker News new | past | comments | ask | show | jobs | submit login

What’s the general algorithms or patterns for these infinite canvas type things? I’ve always wondered. How do you handle interactivity also? Seems all very complex with a html canvas…



There are engines for this. I started out with Fabric.JS but it turned very slow with hundreds of repos. Then I moved to PixiJS (a game engine) which is super fast. I feel like I'll need to move to WASM / OffScreenCanvas and implement a custom engine, like Figma is doing.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: