Laufmaschine
Aus Wiki1
(Unterschied zwischen Versionen)
(Der Versionsvergleich bezieht 34 dazwischenliegende Versionen mit ein.) | |||
Zeile 1: | Zeile 1: | ||
<jsxgraph box="Diagramm_in_the_box" width="500" height="500"> | <jsxgraph box="Diagramm_in_the_box" width="500" height="500"> | ||
- | var brd = JXG.JSXGraph.initBoard('Diagramm_in_the_box',{boundingbox:[- | + | var brd = JXG.JSXGraph.initBoard('Diagramm_in_the_box',{boundingbox:[-150,150,150,-150], axis:false, grid:false, showCopyright:false, showNavigation:false, keepaspectratio: true }); |
- | var p0 = brd.create('point', [ | + | var p0 = brd.create('point', [7,-11.6], {}); |
- | var p1 = brd.create('point', [- | + | var p1 = brd.create('point', [-22,-37], {}); |
- | var pc1 = brd.create('point', [ | + | var pc1 = brd.create('point', [-3,-11], {}); |
var d1 = brd.create('segment', [p1, pc1], {withLabel:true, name:'a', strokeColor:"#BDBDBD"}); | var d1 = brd.create('segment', [p1, pc1], {withLabel:true, name:'a', strokeColor:"#BDBDBD"}); | ||
var d2 = brd.create('segment', [p0, pc1], {withLabel:true, name:'l', strokeColor:"#BDBDBD"}); | var d2 = brd.create('segment', [p0, pc1], {withLabel:true, name:'l', strokeColor:"#BDBDBD"}); | ||
- | var c1 = brd.create('circle',[p1, | + | var c1 = brd.create('circle',[p1,41.5],{visible:false}); |
- | var ca = brd.create('circle',[p0,15],{}); | + | var ca = brd.create('circle',[p0,15],{visible:false}); |
- | p2 = brd.create('glider',[0, | + | p2 = brd.create('glider',[0,15,ca], {name:'Diesen Punkt ziehen', size:4, strokeColor:"red", fillColor:"red"}), |
- | d3 = brd.create('segment', [p0, p2], { | + | d3 = brd.create('segment', [p0, p2], {visible:false}), |
- | c2 = brd.create('circle',[p2,50],{}), | + | c2 = brd.create('circle',[p2,50],{visible:false}), |
p3 = brd.create('intersection', [c1, c2, 1], {withLabel:false, size:1, strokeColor:"#A4A4A4", fillColor:"#A4A4A4"}), | p3 = brd.create('intersection', [c1, c2, 1], {withLabel:false, size:1, strokeColor:"#A4A4A4", fillColor:"#A4A4A4"}), | ||
- | b1 = brd.create('segment', [p1, p3], { | + | b1 = brd.create('segment', [p1, p3], {visible:false}), |
- | b2 = brd.create('segment', [p2, p3], { | + | b2 = brd.create('segment', [p2, p3], {visible:false}), |
- | c3 = brd.create('circle',[p3, | + | c3 = brd.create('circle',[p3,55.8],{visible:false}), |
- | c4 = brd.create('circle',[p1, | + | c4 = brd.create('circle',[p1,40.1],{visible:false}), |
p4 = brd.create('intersection', [c3, c4, 0], {withLabel:false, size:1, strokeColor:"#A4A4A4", fillColor:"#A4A4A4"}), | p4 = brd.create('intersection', [c3, c4, 0], {withLabel:false, size:1, strokeColor:"#A4A4A4", fillColor:"#A4A4A4"}), | ||
- | b3 = brd.create('segment', [p3, p4], { | + | b3 = brd.create('segment', [p3, p4], {visible:false}), |
- | b4 = brd.create('segment', [p1, p4], { | + | b4 = brd.create('segment', [p1, p4], {visible:false}), |
- | c5 = brd.create('circle',[p1, | + | c5 = brd.create('circle',[p1,39.3],{visible:false}), |
- | c6 = brd.create('circle',[p2, | + | c6 = brd.create('circle',[p2,61.9],{visible:false}), |
p5 = brd.create('intersection', [c5, c6, 0], {withLabel:false, size:1, strokeColor:"#A4A4A4", fillColor:"#A4A4A4"}), | p5 = brd.create('intersection', [c5, c6, 0], {withLabel:false, size:1, strokeColor:"#A4A4A4", fillColor:"#A4A4A4"}), | ||
- | b5 = brd.create('segment', [p1, p5], { | + | b5 = brd.create('segment', [p1, p5], {visible:false}), |
b6 = brd.create('segment', [p2, p5], {withLabel:true, name:'k'}), | b6 = brd.create('segment', [p2, p5], {withLabel:true, name:'k'}), | ||
- | c7 = brd.create('circle',[p5, | + | c7 = brd.create('circle',[p5,36.7],{strokeColor:'#D8D8D8', strokeOpacity:0, highlightStrokeColor:"white", highlightStrokeOpacity:"0"}), |
- | c8 = brd.create('circle',[p4, | + | c8 = brd.create('circle',[p4,39.4],{strokeColor:'#D8D8D8', strokeOpacity:0, highlightStrokeColor:"white", highlightStrokeOpacity:"0"}), |
p6 = brd.create('intersection', [c7, c8, 1], {withLabel:false, size:1, strokeColor:"#A4A4A4", fillColor:"#A4A4A4"}), | p6 = brd.create('intersection', [c7, c8, 1], {withLabel:false, size:1, strokeColor:"#A4A4A4", fillColor:"#A4A4A4"}), | ||
- | b7 = brd.create('segment', [p4, p6], { | + | b7 = brd.create('segment', [p4, p6], {visible:false}), |
- | b8 = brd.create('segment', [p5, p6], { | + | b8 = brd.create('segment', [p5, p6], {visible:false}), |
- | c9 = brd.create('circle',[p5, | + | c9 = brd.create('circle',[p5,49],{strokeColor:'#D8D8D8', strokeOpacity:0, highlightStrokeColor:"white", highlightStrokeOpacity:"0"}), |
- | c10= brd.create('circle',[p6, | + | c10= brd.create('circle',[p6,65.7],{strokeColor:'#D8D8D8', strokeOpacity:0, highlightStrokeColor:"white", highlightStrokeOpacity:"0"}), |
- | p7 = brd.create('intersection', [c9, c10, 1], {withLabel:false, size:1, fillColor:"red", trace: | + | p7 = brd.create('intersection', [c9, c10, 1], {withLabel:false, size:1, fillColor:"red", trace:false}), |
b9 = brd.create('segment', [p5, p7], {withLabel:true, name:'i'}), | b9 = brd.create('segment', [p5, p7], {withLabel:true, name:'i'}), | ||
- | b10= brd.create('segment', [p6, p7], { | + | b10= brd.create('segment', [p6, p7], {visible:false}), |
p8 = brd.create('point', [-180,-93], {withLabel:false, fixed:true, size:3, strokeColor:"white", fillColor:"white"}), | p8 = brd.create('point', [-180,-93], {withLabel:false, fixed:true, size:3, strokeColor:"white", fillColor:"white"}), | ||
p9 = brd.create('point', [180,-93], {withLabel:false, fixed:true, size:3, strokeColor:"white", fillColor:"white"}), | p9 = brd.create('point', [180,-93], {withLabel:false, fixed:true, size:3, strokeColor:"white", fillColor:"white"}), |