Fill the intersection area of three circles: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 42: Line 42:


     // Create two arcs surrounding the intersection area
     // Create two arcs surrounding the intersection area
     var c1 = brd.create('arc', [p1, i1, i2], {visible:true});
     var c1 = brd.create('arc', [p1, i1, i3], {visible:true});
     var c2 = brd.create('arc', [p3, i2, i1], {visible:false});
    var c2 = brd.create('arc', [p3, i3, i2], {visible:true});
     var c3 = brd.create('arc', [p3, i2, i1], {visible:true});


     // Join the two arcs and fill the area.
     // Join the two arcs and fill the area.

Revision as of 09:56, 15 August 2017

The underlying JavaScript code