vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
547 stars 90 forks source link

Right-Handed Coordinate System #297

Closed abrombo closed 2 years ago

abrombo commented 2 years ago

The default 3D coordinate system is left-handed. Is there a way to specify a right-handed 3D coordinate system?

johncbowman commented 2 years ago

The default coordinate system is of course right-handed:

import graph3;

size(0,200);
size3(200,IgnoreAspect);

scale(Linear,Linear,Log);

xaxis3("$x$",0,1,red,OutTicks(2,2));
yaxis3("$y$",0,1,red,OutTicks(2,2));
zaxis3("$z$",1,30,red,OutTicks(beginlabel=false));

axis3