3 ms·
The problem is that the graphics class allowed you to do things that can only be done in canvas with direct pixel manipulation, which is too slow for interactiv
by tomjen3 11y ago
The problem is that the graphics class allowed you to do things that can only be done in canvas with direct pixel manipulation, which is too slow for interactive programs.
- sand500 11y agoHow about web assembly?
- tomjen3 11y agoA subset of javascript can't do things you already couldn't do in javascript and I doubt their canvas operations are optimized that much (e.g you have to traverse all the pixels and access all their neighbors to write a blur filter, no matter how you do it).
- yincrash 11y agoYou can emulate a 2d canvas in webgl.
- tomjen3 11y agoThat requires webgl to be widely available.