Hello everyone, I'm html5 game programmer, I've done some simple games. Javascript pure (no frameworks, it is that I'm stubborn :))
In my current project, a set of sailboats, I need the boat sails to catch fire, and fire make optimized with particles, but not how to detect the pixels that correspond to sail the boat, there is some algorithm, anything?