filipedeschamps/doom-fire-algorithm

Why not use Canvas?

Closed this issue · 2 comments

Hi Filipe, congrats for your project man, is very cool!

By the way, have you thought about using Canvas instead of drawing inside a DIV? I'm saying this because, from experience, canvas performes better for this type of application. As you can see in this example, the frame rate is not very stable. I did a test refactoring part of my code to use canvas and the gain was very expressive.

Cheers.

I think that's definitely at his roadmap, using canvas and even other render engines!

As I understood his goal at first was to create a different way of rendering (to prove that it can work even with non expected methods) and also to be able to toggle the debug mode, which is amazing and works pretty well with the tables system.

Feel free to contribute to this project @madureira I'm pretty sure he'll be super happy to check a couple new ideas and implementations!

Closing this issue, since it was already implemented in some of the experiments.