@ -92,7 +92,7 @@ StyleAPI {
this_phase = (this_phase+this_speed)%(Math.PI*64);
context.clearRect(0, 0, width, height);
context.clearRect(0, 0, width+32, height+32);
drawLine(this_delta*trebleAmRatio*trebleAm, trebleColor, 1.5, this_phase, false);
drawLine(this_delta*bassAmRatio*bassAm, bassColor, 1.5, this_phase+0.8, false);
@ -112,7 +112,7 @@ StyleAPI {
}
createPoint();
context.beginPath();
@ -113,7 +113,7 @@ StyleAPI {
let _dx = Math.round(_ux/2);
let _y = halfHeight-_y_dy
if(lineRotateFlag || centerRotateFlag) {
context.transform(1, centerRotateFlag*centerRotateAngle * degUnit, -lineRotateFlag*lineRotateAngle * degUnit, 1, lineRotateFlag*Math.sin(1.05*lineRotateAngle*degUnit)*_y, 0);
@ -39,7 +39,7 @@ StyleAPI {
context.moveTo(0, halfHeight);