Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
How to destroy and/or reload warpdrive #2
Im really just experimenting because this plugin is pretty cool but one use case is that I want to toggle Mouse/Touch. However really it could be any change of settings.
What I was thinking was to re-use somehow the existing canvas instead of destroying the element completely and creating a new one from scratch. My uneducated idea could be something as simple as clearing the canvas and re-drawing it or maybe there's something better without down the rabbit-hole too much.
With some of the settings lookup tables are created. Therefore it is not possible to change some of the settings while running.