June 2015
Beginner
354 pages
8h 23m
English
index.html file we just used in the circle-drawing example.untangle.data.js JavaScript file.Line class to store the information that we need for each line:untangleGame.Line = function(startPoint, endPoint, thickness) {
this.startPoint = startPoint;
this.endPoint = endPoint;
this.thickness = thickness;
}untangle.drawing.js file.untangleGame.thinLineThickness = 1; untangleGame.lines = [];
drawLine function into our code, after the existing drawCircle ...Read now
Unlock full access