Web Analytics Made Easy -
StatCounter Javascript+HTML canvas - Distortion? - CodingForum


No announcement yet.

Javascript+HTML canvas - Distortion?

  • Filter
  • Time
  • Show
Clear All
new posts

  • Javascript+HTML canvas - Distortion?

    Click image for larger version

Name:	be69464e2dda41ebafa6745950bd4470.png
Views:	1
Size:	3.3 KB
ID:	2283647
    It really seems to me that the right edge of the arc is thinner than the left one! I have been doing some coding for webpages and I started using canvas so I can make cool things using Javascript. I had some problems with the height/width of the canvas/body, but it always seems to me that the ball outline is wider in its left side... The page where I am trying this: Anima (in Portuguese). Please change where it says "Velocidade:" to 0 if you want to stop the ball, and zoom in with the browser to see it better. If you search for "arc" in the Elements tab (Chrome) you will find the code that draws the arc and the ball.
    Do you think the arc is distorced or something? If so, why and how to fix it?
    Thank you!