sugarizer
sugarizer copied to clipboard
Adding Drag to fill Cells Functionality in Game of Life
@llaske in the game of life activity, it becomes very tedious to click at individual cells and enable them. What I propose is adding a click-and-drag functionality (much like using a paintbrush in paint) to fill the cells. This would also enable adding cells while generations are moving fast as adding a single cell just vanishes very quickly. I will achieve this by adding mouse-down and mouse-move event listeners. I have actually tried implementing it and it works pretty well. If you like this feature can you assign it to me? Thanks!
It's a good idea. BTW it should support both mouse and touch event. There is nothing like assigned issue. Everyone is free to contribute. See here for more.
i've made a PR, please review it @llaske
@llaske since no one is working on this issue can i?
@VedantSharma11 yes, sure.
Fine @llaske ill work on the fix then
Fixed in https://github.com/llaske/sugarizer/pull/1592