Jump to content

PDXPat

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About PDXPat

  • Rank
    Newbie
  1. Hello. I have a question about drawing lines using javascript and HTML5. The code below calls a function that draws two lines with the same coordinates. The first line is drawn in black, the second in white. The intention is that the second line will erase the first line. The results that I see in Chrome a subtle Gray line. A ghost line or a line with screen artifacts. I was wondering if the community might be aware of an attribute that I am failing to set that will remove this problem. Thanks! PDXPat <html> <head></head> <body onLoad="draw();"> <canvas id="can
×
×
  • Create New...