July 25th, 2013, 02:45 PM
Hello my problem here is probably a really easy fix but I have no idea.
<link rel="shortcut icon" href="paint-splat.png">
<!--defines the background image for the page-->
<title> TraLab | Home</title>
<canvas id="myCanvas" width="1000" height="600">If you only see a blue backround please use a broswer that supports HTML5</canvas>
var $myArt = document.getElementById("myCanvas");
//import the two dimensional graphics library and assign it to a variable
var $myBook = $myArt.getContext("2d");
The problem is when I create the line with lineTo() it is not opaque and if I make the line white it is never the same shade of white as the background. I tried using hexidecimal colors but it still didn't work.