ccc
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| ccc [2022/03/20 11:47] – torsten.roehl | ccc [2022/03/21 08:29] (aktuell) – torsten.roehl | ||
|---|---|---|---|
| Zeile 22: | Zeile 22: | ||
| </ | </ | ||
| - | |||
| - | |||
| - | |||
| Zeile 55: | Zeile 52: | ||
| }); | }); | ||
| | | ||
| - | ey_brd = JXG.JSXGraph.initBoard(' | + | |
| - | boundingbox: | + | |
| - | keepaspectratio: | + | |
| - | axis: | + | |
| - | grid: { | + | |
| - | strokeColor: | + | |
| - | visible: false | + | |
| - | }, | + | |
| - | needsRegularUpdate: | + | |
| - | showNavigation: | + | |
| - | showCopyright: | + | |
| - | pan: { | + | |
| - | enabled: false | + | |
| - | } | + | |
| - | }); | + | |
| - | + | ||
| ex_line = ex_brd.create(' | ex_line = ex_brd.create(' | ||
| function(x) { return pc.calcEx(x*pc.ab, | function(x) { return pc.calcEx(x*pc.ab, | ||
| Zeile 77: | Zeile 59: | ||
| strokeColor: | strokeColor: | ||
| strokeWidth: | strokeWidth: | ||
| - | }); | + | }); |
| + | | ||
| | | ||
| - | ey_line = ey_brd.create(' | ||
| - | function(x) { return pc.calcEy(x*pc.ab, | ||
| - | -3.0, 3.0 | ||
| - | ], { | ||
| - | strokeColor: | ||
| - | strokeWidth: | ||
| - | }); | ||
| - | | ||
| - | | ||
| - | | ||
| - | etot_brd = JXG.JSXGraph.initBoard(' | ||
| - | boundingbox: | ||
| - | keepaspectratio: | ||
| - | axis:true, | ||
| - | grid: { | ||
| - | strokeColor: | ||
| - | visible: false | ||
| - | }, | ||
| - | needsRegularUpdate: | ||
| - | showNavigation: | ||
| - | showCopyright: | ||
| - | pan: { | ||
| - | enabled: false | ||
| - | } | ||
| - | }); | ||
| - | | ||
| - | e1_line = etot_brd.create(' | ||
| - | function(tau) { return pc.calc_r(tau, | ||
| - | function(tau) { return pc.calc_r(tau, | ||
| - | 0.0, 2.0*Math.PI | ||
| - | ], { | ||
| - | strokeColor: | ||
| - | strokeWidth: | ||
| - | needsRegularUpdate: | ||
| - | }); | ||
| - | | ||
| - | e2_line = etot_brd.create(' | ||
| - | function(tau) { return tau*beta | ||
| - | function(tau) { return pc.calc_r(tau, | ||
| - | 0.0, 2.0*Math.PI | ||
| - | ], { | ||
| - | strokeColor: | ||
| - | strokeWidth: | ||
| - | needsRegularUpdate: | ||
| - | }); | ||
| - | | ||
| - | e2_line = etot_brd.create(' | ||
| - | function(tau) { return pc.calc_r(tau, | ||
| - | function(tau) { return pc.calc_r(tau, | ||
| - | 0.0, 2.0*Math.PI | ||
| - | ], { | ||
| - | strokeColor: | ||
| - | strokeWidth: | ||
| - | needsRegularUpdate: | ||
| - | }); | ||
| - | | ||
| - | e2_line = etot_brd.create(' | ||
| - | function(tau) { return pc.calc_r(tau, | ||
| - | function(tau) { return pc.calc_r(tau, | ||
| - | 0.0, 2.0*Math.PI | ||
| - | ], { | ||
| - | strokeColor: | ||
| - | strokeWidth: | ||
| - | needsRegularUpdate: | ||
| - | }); | ||
| | | ||
| $("# | $("# | ||
| Zeile 152: | Zeile 70: | ||
| $("# | $("# | ||
| ex_brd.fullUpdate(); | ex_brd.fullUpdate(); | ||
| - | ey_brd.fullUpdate(); | + | |
| - | etot_brd.fullUpdate(); | + | |
| } | } | ||
| </JS> | </JS> | ||
| Zeile 166: | Zeile 83: | ||
| <tr> | <tr> | ||
| < | < | ||
| - | < | + | |
| - | </ | + | |
| - | < | + | |
| - | <td width=" | + | |
| - | < | + | |
| </tr> | </tr> | ||
| + | |||
| </ | </ | ||
| < | < | ||
| Zeile 194: | Zeile 108: | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | < | ||
| - | <svg width=" | ||
| - | <circle id=" | ||
| - | style=" | ||
| - | </ | ||
| - | </ | ||
| - | <JS> | ||
| - | var timerFunction = null; | ||
| - | |||
| - | function startAnimation() { | ||
| - | if(timerFunction == null) { | ||
| - | timerFunction = setInterval(animate, | ||
| - | } | ||
| - | } | ||
| - | |||
| - | function stopAnimation() { | ||
| - | if(timerFunction != null){ | ||
| - | clearInterval(timerFunction); | ||
| - | timerFunction = null; | ||
| - | } | ||
| - | } | ||
| - | |||
| - | function animate() { | ||
| - | var circle = document.getElementById(" | ||
| - | var x = circle.getAttribute(" | ||
| - | var newX = 2 + parseInt(x); | ||
| - | if(newX > 500) { | ||
| - | newX = 20; | ||
| - | } | ||
| - | circle.setAttribute(" | ||
| - | } | ||
| - | </JS> | ||
| - | |||
| - | < | ||
| - | </br> | ||
| - | <input type=" | ||
| - | <input type=" | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | < | ||
| - | <svg width=" | ||
| - | </ | ||
ccc.1647776864.txt.gz · Zuletzt geändert: von torsten.roehl
