Difference between revisions of "Rectangles"
From JSXGraph Wiki
Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||
Line 19: | Line 19: | ||
var p1 = b2.create('point', [-2,-2]), | var p1 = b2.create('point', [-2,-2]), | ||
p2 = b2.create('point', [3,3]), | p2 = b2.create('point', [3,3]), | ||
− | pm = b2.create('midpoint', [p1, p2], {visible: | + | pm = b2.create('midpoint', [p1, p2], {visible: false}), |
− | circ = b2.create('circle', [pm, p1], {visible: | + | circ = b2.create('circle', [pm, p1], {visible: false}), |
p3 = b2.create('glider', [-2, 3, circ], {color:'green'}), | p3 = b2.create('glider', [-2, 3, circ], {color:'green'}), | ||
t = b2.create('transform', [Math.PI, pm], {type: 'rotate'}), | t = b2.create('transform', [Math.PI, pm], {type: 'rotate'}), |
Revision as of 16:10, 14 October 2014