I am creating a dartboard in grasshopper and now facing some problems. I would like to ask for advice on the following question:
The location of the dart, my approach is to check the distance between my dart (point) and the score curves, then determine the zone where is my dart located then calculate the score. However, this approach will have chances to identify the incorrect zone where the dart is located (see below figures):
Thanks for the fast response, using the surface to check the zone works well on the location. But it might increase the difficulties in the later stages, in which I am going to determine the score for the point (see below figure). Thus, I prefer to solve the zoning problem with curves. May I have your advice on this issue?
This should be a little faster than constructing surfaces and looking for closest points on a brep. With peace and love, but it seems unnecessarily wasteful for this example.
Well, yes, that’s a totally different case. Ellipses can’t really be sorted by a single radius. You asked about circles, and that’s what was provided.
In that case, you can probably check whether the point is inside curves or something, like in the the square grid example.
just another try
not completely clear to me if you want only perfect mid-points (perfect 50%/50% distance between previous and next circle) to assign + half value, or you want the value to be calculated continuously
Hi, yes, I think it is a totally different case, and Kim has provided an excellent example for this. I just wonder if the dartboard is another shape and how does it work. Let me have a try these days.