Description
The use of CADme.js is very simple as it can be seen on the home page, the javascript code
The recommended sequence is:
- Create the object.
- Add styles.
- Add needed drawing elements.
Create the CADme object
The HTML canvas element must have an ID ex:
<canvas id="myCanvas" width="300" height="300"><canvas>
Then the simplest javascript creation of the object:
var myCAD = new CADme('myCanvas');