Area of Intersection between Two Circles

前端 未结 5 1821
时光说笑
时光说笑 2020-12-07 23:57

Given two circles:

  • C1 at (x1, y1) with radius1
  • C2 at (x2, y2) with radius2
5条回答
  •  清歌不尽
    2020-12-08 00:02

    Here here i was making character generation tool, based on circle intersections... you may find it useful.

    with dynamically provided circles:

        C: {
            C1: {id: 'C1',x:105,y:357,r:100,color:'red'},
            C2: {id: 'C2',x:137,y:281,r:50, color:'lime'},
            C3: {id: 'C3',x:212,y:270,r:75, color:'#00BCD4'}
        },
    

    Check FULL fiddle... FIDDLE

提交回复
热议问题