Animation II: Difference between revisions

From JSXGraph Wiki
(New page: <jsxgraph width="500" height="500"> brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-1.5,1.5,1.5,-1.5], keepaspectratio:true, axis:true}); p = brd.createElement('point',[1.5,1.5],{face...)
 
No edit summary
Line 2: Line 2:
brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-1.5,1.5,1.5,-1.5], keepaspectratio:true, axis:true});
brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-1.5,1.5,1.5,-1.5], keepaspectratio:true, axis:true});
p = brd.createElement('point',[1.5,1.5],{face:'o', size:8, strokeColor:'red', fillOpacity:0.6, strokeOpacity: 0.6});
p = brd.createElement('point',[1.5,1.5],{face:'o', size:8, strokeColor:'red', fillOpacity:0.6, strokeOpacity: 0.6});
brd.createElement('vector',[[0,0],p],{strokeWidth:5, strokeOpacity:0.6});
brd.createElement('arrow',[[0,0],p],{strokeWidth:5, strokeOpacity:0.6});
</jsxgraph>
</jsxgraph>



Revision as of 15:15, 30 September 2009

The JavaScript code

brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-2,2,2,-2], keepaspectratio:true, axis:true});
p = brd.createElement('point',[1.5,1.5],{face:'o', size:8, strokeColor:'red', fillOpacity:0.6, strokeOpacity: 0.6});