Laufmaschine
Aus Wiki1
(Unterschied zwischen Versionen)
Zeile 2: | Zeile 2: | ||
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], {withLabel:false, fixed:true, size:3, strokeColor:"black", fillColor:"#58FA58"}); | var p0 = brd.create('point', [0,0], {withLabel:false, fixed:true, size:3, strokeColor:"black", fillColor:"#58FA58"}); | ||
- | var p1 = brd.create('point', [-60,-60], {withLabel:false | + | var p1 = brd.create('point', [-60,-60], {withLabel:false, size:3, strokeColor:"black", fillColor:"#58FA58"}); |
- | var pc1 = brd.create('point', [5,-7.8], {withLabel:false | + | var pc1 = brd.create('point', [5,-7.8], {withLabel:false, 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"}); |