Parallel projection of a sphere: Difference between revisions

From JSXGraph Wiki
(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...")
 
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]

Revision as of 11:58, 1 June 2012