Difference between revisions of "Rolling Reuleaux triangle"

From JSXGraph Wiki
Jump to: navigation, search
Line 26: Line 26:
 
             function(){return (pol3.vertices[0].X()+pol3.vertices[1].X()+pol3.vertices[2].X())/3; },
 
             function(){return (pol3.vertices[0].X()+pol3.vertices[1].X()+pol3.vertices[2].X())/3; },
 
             function(){return (pol3.vertices[0].Y()+pol3.vertices[1].Y()+pol3.vertices[2].Y())/3; }],
 
             function(){return (pol3.vertices[0].Y()+pol3.vertices[1].Y()+pol3.vertices[2].Y())/3; }],
             {strokeColor:'#703545', fillColor:'#703545', highlightFillColor:'#703545', name:'S'});
+
             {strokeColor:'#703545', fillColor:'#703545', highlightFillColor:'#703545', name:'S', trace:true});
  
 
brd.unsuspendUpdate();
 
brd.unsuspendUpdate();

Revision as of 16:43, 4 October 2010

The underlying JavaScript code