Accessibility colors
This commit is contained in:
10
water20.html
10
water20.html
@@ -103,10 +103,10 @@
|
||||
h = this.value;
|
||||
if (h > 143)
|
||||
{
|
||||
document.getElementById("ampSlider").style.backgroundColor = "#ff0000";
|
||||
document.getElementById("ampSlider").style.backgroundColor = "#ee0000";
|
||||
} else
|
||||
{
|
||||
document.getElementById("ampSlider").style.backgroundColor = "#0000ff";
|
||||
document.getElementById("ampSlider").style.backgroundColor = "#9999ff";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
|
||||
function Draw()
|
||||
{
|
||||
ctx.strokeStyle = "#0000ff";
|
||||
ctx.strokeStyle = "#9999ff";
|
||||
ctx.beginPath();
|
||||
ctx.moveTo(-scrwidth, yPos);
|
||||
ctx.lineTo(scrwidth, yPos);
|
||||
@@ -179,7 +179,7 @@
|
||||
{
|
||||
x = 1.1 * scrwidth * (-1 + 2 * jj / nn);
|
||||
xx = jj / nn * kw;
|
||||
ctx.strokeStyle = "#0000ff";
|
||||
ctx.strokeStyle = "#9999ff";
|
||||
ctx.lineTo(xPos + x - h * Math.sin(xx - t), yPos + htn * h * Math.cos(xx - t) + depth);
|
||||
}
|
||||
ctx.stroke();
|
||||
@@ -228,7 +228,7 @@
|
||||
ctx.lineTo(xPos - h * Math.sin(xx - t) - 4, yPos + htn * h * Math.cos(xx - t) - 16 + depth);
|
||||
ctx.stroke();
|
||||
}
|
||||
ctx.strokeStyle = "#ff0000";
|
||||
ctx.strokeStyle = "#ee0000";
|
||||
if (trace)
|
||||
{
|
||||
for (p = 0; p <= 101; p+= 0.1)
|
||||
|
||||
Reference in New Issue
Block a user