On Monday, November 12, 2018 at 4:19:38 AM UTC+9, Andrey Novoseltsev wrote: > > It is a featured bug... There is only one instance of JSMol that > SageMathCell is using, so if you try to show multiple scenes, they conflict > in a not quite predictable way. A fix is to use threejs: > > show(cube(), viewer="threejs") > show(sphere(), viewer="threejs") >
Ok. The example was an artificial one. A real problem that I experience is that if you have multiple sagecell instances (with separate input and output elements) in one web page, you have jsmol graphics intefering with each other. > My current viewpoint is that improving JSMol handling is a waste of time > as it is tricky and it is likely to be gone sooner or later. Past > experience shows that later is more likely, but threejs is available > already if you can deal with its own issues (if you can't - please fix them > ;-)). I have stopped using JMol/JSMol many years ago even though I like the > quality of its pictures when they do work. > I agree. I think we should switch to threejs at a point when threejs in sage is mature enough, even though not perfect... Thank you for clarifying the situation! -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-cell+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/63513a39-5f36-41c5-bcba-193022d8b357%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.