created Ploma module object in ploma.js and moved initialization to init.js. Ploma encapsulates Sketcher prototypes - to create an object that renders stroke arrays, create a Ploma.Sketcher instance with parameters canvas, textureCanvas1 and textureCanvas2. A sketcher instance provides and interface with addPoint, beginStroke and finishStroke and has public values strokes (Array) and curStroke, both the filtered version of points/strokes.
Ok, I am going to merge it and we can address the questions and my new changes on top of your changes in these comments I left or via email! Thank you very much! :+1:
created Ploma module object in ploma.js and moved initialization to init.js. Ploma encapsulates Sketcher prototypes - to create an object that renders stroke arrays, create a Ploma.Sketcher instance with parameters canvas, textureCanvas1 and textureCanvas2. A sketcher instance provides and interface with addPoint, beginStroke and finishStroke and has public values strokes (Array) and curStroke, both the filtered version of points/strokes.