Polygon II: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 7: Line 7:
var rot = brd.create('transform',[function(){ return Math.PI/4;},p1],{type:'rotate'});
var rot = brd.create('transform',[function(){ return Math.PI/4;},p1],{type:'rotate'});
var p3 = brd.create('point',[p2,rot],{fixed:true});
var p3 = brd.create('point',[p2,rot],{fixed:true});
var line = brd.create('line',[p1,p2],{strokeOpacity:0.1});


//var c2 = brd.create('circle',[p1,Math.sqrt(0.5*0.5+1.0)],{strokeOpacity:0.1});
var p4 = brd.create('glider',[0,0.5,line],{fixed:true});
//var p3 = brd.create('glider',[0,0.5,c2],{fixed:true});






//rot.bindTo(p3);





Revision as of 11:26, 3 March 2010