Parallel projection of a sphere: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (Created page with "<jsxgraph width="700" height="700"> var board = JXG.JSXGraph.initBoard('jxgbox', { boundingbox:[-10, 10, 10, -10], axis:false, showCopyright:true, showNavigation:true, pan...") |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 32: | Line 32: | ||
var xAxis = board.create ('axis', [[0, 0], [1, 0]] ); | var xAxis = board.create ('axis', [[0, 0], [1, 0]] ); | ||
var yAxis = board.create ('axis', [[0, 0], [0, 1]]); | var yAxis = board.create ('axis', [[0, 0], [0, 1]]); | ||
var zAxis = board.create ('axis', [[0, 0], [-1, -1]]); | var zAxis = board.create ('axis', [[0, 0], [-1, -1]], {ticks:{majorHeight:10}}); | ||
var cam = [4,4,30]; // [x,y,z] | var cam = [4,4,30]; // [x,y,z] |