function rotateAndTranslate(d, b, u) {
    c.save();
    c.translate(centerX, centerY - (b * u));
    c.rotate(d);
    drawLine();
    c.restore();
}
// rotate and translate the line by the slopeValue and interceptValue
rotate and translate the line by the slopeValue and interceptValue
rotate and translate the line by the slopeValue and interceptValue
function rotateAndTranslate(d, b, u) {
    c.save();
    c.translate(centerX, centerY - (b * u));
    c.rotate(d);
    drawLine();
    c.restore();
}
function rotateAndTranslate ( d , b , u ) { c . save ( ) ; c . translate ( centerX , centerY - ( b * u ) ) ; c . rotate ( d ) ; drawLine ( ) ; c . restore ( ) ; }
rotate and translate the line by the slopeValue and interceptValue
rotate and translate the line by the slopeValue and interceptValue