Version 20180117-1
Luis M Rosety Gil

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:

  1. Create the object.
  2. Add styles.
  3. 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');