Past:
For a few years SageMathCell had issues with 3D plots due
to some difficulties configuring and running Jmol/JSmol. While at the
moment it mostly works, new issues keep appearing and there is a lack of
manpower resolving them.
Also for a few years it was possible to use three.js graphics in SageMathCell via commands like
threejs(cube())
The problem with this function is that it is undocumented as far as I
know and it is unmaintained, at least there are no improvements to some
old code absorbed at some point from early versions of SageMathCloud. It
is also at the moment the main reason why SageMathCell is using a
special branch of SageMath - several plot-related files have added bits
for three.js scenes.
Present:
There is now an option to
use three.js code from SageMath itself, thanks to Paul Masson work
https://trac.sagemath.org/ticket/12402 and some recent improvements
(unmerged in SageMath yet)
https://trac.sagemath.org/ticket/22123
The big advantage of this implementation is that it is likely to be
used in multiple interfaces and therefore get regular bug fixes and
enhancements.
Future:
My plan is to make
threejs(cube())
to be an alias (perhaps deprecated) for
show(cube(), viewer="threejs")
and change the default viewer in SageMathCell so that it is actually the same as just
show(cube())
A
good time to do it is probably the next update to Sage 7.6, whenever
that will happen. Until then, please test the new implementation and
report any issues so that they can be addressed before changing
defaults!