Rectangles: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
circ = b2.create('circle', [pm, p1], {visible:false}), | circ = b2.create('circle', [pm, p1], {visible:false}), | ||
p3 = b2.create('glider', [-2, 3, circ], {color:'blue'}), | p3 = b2.create('glider', [-2, 3, circ], {color:'blue'}), | ||
t = b2.create('transform', [p3, pm], {type: 'reflect'}) | t = b2.create('transform', [p3, pm], {type: 'reflect'}), | ||
p4 = b2.create('point', [p3, t], {color:'blue'}), | p4 = b2.create('point', [p3, t], {color:'blue'}), | ||
rect = b2.create('polygon',[p1,p3,p2,p4],{hasInnerPoints:true}); | rect = b2.create('polygon',[p1,p3,p2,p4],{hasInnerPoints:true}); |
Revision as of 13:59, 14 October 2014