You { Not sure yet based on what you've said how this canvas approach makes things easier for me. }
In the last article of the series, I will release a very friendly library (almost finished now). Then you can realize if it has any utility for you.
You { 412kb is a small amount of JavaScript to write for this? Did you mean 4.12kb? }
The full JavaScript code *before compressed* weighs 419.3Kb, in the April's version of the *application*.
And this is not a snippet for tables. It is the code for a full-fledged drawing tool (includes code for the interface and for the painting and the effects).
All the code for the whole application:
- HTML file: 9,1k
- JS file (compressed): 68,3k
You can check it here (not for smartphones):