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:true}), | circ = b2.create('circle', [pm, p1], {visible:true}), | ||
p3 = b2.create('glider', [-2, 3, circ], {color:'blue'}), | p3 = b2.create('glider', [-2, 3, circ], {color:'blue'}), | ||
t = b2.create('transform', [ | t = b2.create('transform', [Math.PI, pm], {type: 'rotate'}), | ||
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 14:05, 14 October 2014