Laufmaschine
Aus Wiki1
(Unterschied zwischen Versionen)
(Der Versionsvergleich bezieht 15 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:[-120,50,50,-50], axis:false, grid:false, showCopyright:false, showNavigation:false, keepaspectratio: true }); | var brd = JXG.JSXGraph.initBoard('Diagramm_in_the_box',{boundingbox:[-120,50,50,-50], axis:false, grid:false, showCopyright:false, showNavigation:false, keepaspectratio: true }); | ||
- | var p0 = brd.create('point', [0,0], {}); | + | var p0 = brd.create('point', [0,0], {withLabel:false, fixed:true, size:3, strokeColor:"black", fillColor:"#58FA58"}); |
- | var p1 = brd.create('point', [- | + | var p1 = brd.create('point', [-50,-50], {withLabel:false, fixed:true, size:3, strokeColor:"black", fillColor:"#58FA58"}); |
- | var pc1 = brd.create('point', [ | + | var pc1 = brd.create('point', [5,-7.8], {withLabel:false, fixed:true, size:1, strokeColor:"white", fillColor:"#BDBDBD"}); |
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,40],{}); |
- | var ca = brd.create('circle',[p0,15],{ | + | var ca = brd.create('circle',[p0,15],{strokeColor:'#D8D8D8', strokeOpacity:1, fillColor:'#E6E6E6', highlightFillColor:"#E6E6E6"}); |
- | p2 = brd.create('glider',[0, | + | p2 = brd.create('glider',[0,5,ca], {name:'Diesen Punkt ziehen', size:4, strokeColor:"red", fillColor:"red"}), |
- | d3 = brd.create('segment', [p0, p2], { | + | d3 = brd.create('segment', [p0, p2], {withLabel:true, name:'m', strokeColor:"#BDBDBD"}), |
- | c2 = brd.create('circle',[p2,50],{ | + | c2 = brd.create('circle',[p2,50],{}), |
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], {withLabel:true, name:'b'}), |
- | b2 = brd.create('segment', [p2, p3], { | + | b2 = brd.create('segment', [p2, p3], {withLabel:true, name:'j'}), |
- | c3 = brd.create('circle',[p3, | + | c3 = brd.create('circle',[p3,40],{strokeColor:'#D8D8D8', strokeOpacity:0, highlightStrokeColor:"white", highlightStrokeOpacity:"0"}), |
- | c4 = brd.create('circle',[p1, | + | c4 = brd.create('circle',[p1,20],{strokeColor:'#D8D8D8', strokeOpacity:0, highlightStrokeColor:"white", highlightStrokeOpacity:"0"}), |
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], {withLabel:true, name:'e'}), |
- | b4 = brd.create('segment', [p1, p4], { | + | b4 = brd.create('segment', [p1, p4], {withLabel:true, name:'d'}), |
- | c5 = brd.create('circle',[p1, | + | c5 = brd.create('circle',[p1,10],{strokeColor:'#D8D8D8', strokeOpacity:0, highlightStrokeColor:"white", highlightStrokeOpacity:"0"}), |
- | c6 = brd.create('circle',[p2,61.9],{ | + | c6 = brd.create('circle',[p2,61.9],{strokeColor:'#D8D8D8', strokeOpacity:0, highlightStrokeColor:"white", highlightStrokeOpacity:"0"}), |
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], {withLabel:true, name:'c'}), |
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,60],{strokeColor:'#D8D8D8', strokeOpacity:0, highlightStrokeColor:"white", highlightStrokeOpacity:"0"}), |
- | c8 = brd.create('circle',[p4, | + | c8 = brd.create('circle',[p4,10],{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], {withLabel:true, name:'f'}), |
- | b8 = brd.create('segment', [p5, p6], { | + | b8 = brd.create('segment', [p5, p6], {withLabel:true, name:'g'}), |
- | c9 = brd.create('circle',[p5, | + | c9 = brd.create('circle',[p5,10],{strokeColor:'#D8D8D8', strokeOpacity:0, highlightStrokeColor:"white", highlightStrokeOpacity:"0"}), |
- | c10= brd.create('circle',[p6, | + | c10= brd.create('circle',[p6,10],{strokeColor:'#D8D8D8', strokeOpacity:0, highlightStrokeColor:"white", highlightStrokeOpacity:"0"}), |
p7 = brd.create('intersection', [c9, c10, 1], {withLabel:false, size:1, fillColor:"red", trace:true}), | p7 = brd.create('intersection', [c9, c10, 1], {withLabel:false, size:1, fillColor:"red", trace:true}), | ||
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], {withLabel:true, name:'h'}), |
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"}), |