benfred/venn.js

The calculation accuracy of function circleCircleIntersection problem

jun58 opened this issue · 0 comments

jun58 commented

image
image
The circle A is all in circle B, but because of the accuracy , the program think not so. The sets is

const sets = [
        {"sets": [1], "label": "all", "size": 64},
        {"sets": [2], "label": "left", "size": 8},
        {"sets": [3], "label": "right", "size": 16},
        {"sets": [1, 2], "label": "1_2", "size": 8},
        {"sets": [1, 3], "label": "1_3", "size": 16},
      ]