Last post Feb 23, 2018 03:10 AM by Eric Du
Feb 22, 2018 06:27 PM|M-hossein|LINK
Feb 23, 2018 03:10 AM|Eric Du|LINK
According to your description, i am not clear your application type and how to achieve it. If your application is web application, i think you could achieve it through the following steps:
Maybe the dart is a point actually, so i think you could use JS to get the position of the dart in the canvas(div), if canvas radius is 100, then center area is from center point to 10's area, so if this point to the canvas border is more than 40, you will
get 25 points.
About how to get the position of the point, you could check the following tutorials: