Parallel projection of a sphere: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 3: Line 3:
{
{
boundingbox:[-10, 10, 10, -10],
boundingbox:[-10, 10, 10, -10],
axis:false,  
axis:true,  
showCopyright:true,
showCopyright:true,
showNavigation:true,
showNavigation:true,
Line 30: Line 30:
});
});


var xAxis = board.create ('axis', [[0, 0], [1, 0]] );
var zAxis = board.create ('axis', [[0, 0], [-1, -1]], {ticks:{majorHeight:10}, drawLabels:false});
var yAxis = board.create ('axis', [[0, 0], [0, 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:59, 1 June 2012