Slimmer Javascript Canvas Abstraction than Processing.js
I am quite in love with the canvas element and the way [Processing.js][1] encapsulates it in a nice API. I am also familar to the regular [Processing][2] syntax. Processing.js includes an interpreter that enables you to execute regular Processing scripts within Processing.js. However, I prefer to use the plain Javascript syntax of Processing.js over the regular Java syntax. The minified version including the interpreter is 229 kb in size, the one which excludes the interpreter still 193 kb.

Can someone recommend another abstraction of canvas which is smaller in size, say 50 kb? Personally I think ~200 kb is too heavy for use in production.

Thanks in advance!

Best regards,
Martin

  [1]: http://processingjs.org/
  [2]: http://processing.org/
Slimmer Javascript Canvas Abstraction than Processing.js
===

I am quite in love with the canvas element and the way [Processing.js][1] encapsulates it in a nice API. I am also familar to the regular [Processing][2] syntax. Processing.js includes an interpreter that enables you to execute regular Processing scripts within Processing.js. However, I prefer to use the plain Javascript syntax of Processing.js over the regular Java syntax. The minified version including the interpreter is 229 kb in size, the one which excludes the interpreter still 193 kb.

Can someone recommend another abstraction of canvas which is smaller in size, say 50 kb? Personally I think ~200 kb is too heavy for use in production.

Thanks in advance!

Best regards,
Martin

  [1]: http://processingjs.org/
  [2]: http://processing.org/