Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: DOM manipulation vs Canvas #3

Open
shirish93 opened this issue May 25, 2016 · 1 comment
Open

Question: DOM manipulation vs Canvas #3

shirish93 opened this issue May 25, 2016 · 1 comment

Comments

@shirish93
Copy link

Hi!

SO I've been playing around with your simulation a bit, and wanted to do some considerable fun work using it. But I realized whenever I start up the page, my laptop fan starts to sound like a helicopter. Do you know if it's a better idea to implement the simulation board in canvas, vs using DOM? Not a feature request though, just curious. I might look into using stuff like p5js to implement it using canvas if there'd be performance gains. (I don't understand what calculations could be causing so much work anyway)

@ncase
Copy link
Owner

ncase commented May 27, 2016

Thanks for asking! So, as I learnt the hard way, emoji support is already really sketchy cross-browser and cross-OS, and even worse with canvas. Chrome can draw emoji to canvas. Firefox can't. And I don't even want to know what Internet Explorer does.

But! The next time I use emoji, I'll definitely use something like EmojiOne to prevent all these weird cross-whatever implementation issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants