Re: [sage-devel] Making the package jmol optional

2022-03-16 Thread Michael Orlitzky
On Wed, 2022-03-16 at 11:34 -0700, Matthias Koeppe wrote: > Reviving this old thread... > Another option is https://github.com/puppeteer/puppeteer, which is > used by > screenshotting tools such > as https://github.com/marketplace/actions/screenshots-ci-action > > I've opened https://trac.sagema

Re: [sage-devel] Making the package jmol optional

2022-03-16 Thread Matthias Koeppe
Reviving this old thread... Another option is https://github.com/puppeteer/puppeteer, which is used by screenshotting tools such as https://github.com/marketplace/actions/screenshots-ci-action I've opened https://trac.sagemath.org/ticket/33513 for this On Monday, December 7, 2020 at 10:34:15

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Joshua Campbell
Thank you, that library looks very promising. I'll try to find some time to play around with it, though it looks like a good bit of work to extend (and build!) On Monday, December 7, 2020 at 3:14:25 PM UTC-8 Jason Grout wrote: > https://github.com/plotly/Kaleido is an interesting new project fo

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread kcrisman
Any progress here might also be useful for alternate (3d) image generation for SageTeX, which currently would (I believe) continue to rely on jmol proper for that purpose. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Jason Grout
https://github.com/plotly/Kaleido is an interesting new project for generating static images from a browser rendering library that may be useful here (I'm not sure if it handles webgl, though). Jason On Mon, Dec 7, 2020 at 1:34 PM Joshua Campbell wrote: > Hmm... no joy. Although it's "headless

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Joshua Campbell
Hmm... no joy. Although it's "headless" in the sense that it doesn't require a browser, it still seems to require a graphical environment of some sort. It doesn't work on my Ubuntu WSL install, nor does it work on my Arch Linux box from the virtual console, even with X running in another. It on

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Joshua Campbell
Interesting... I especially like the animated gifs. I will play around with it later today. Seems like a decent bit of refactoring of the three.js viewer, though, to rip out the javascript that would be shared by these new nodejs scripts and the regular HTML pages. On Monday, December 7, 2020

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Matthias Koeppe
This here seems useful: https://github.com/akira-cn/node-canvas-webgl On Monday, December 7, 2020 at 10:11:03 AM UTC-8 Matthias Koeppe wrote: > On Monday, December 7, 2020 at 1:57:22 AM UTC-8 Eric Gourgoulhon wrote: > >> Le lundi 7 décembre 2020 à 10:26:46 UTC+1, François Bissey a écrit : >> >>>

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Joshua Campbell
The "Save as PNG" feature already uses the technique you linked to, but it may require user interaction to complete; you may be prompted to choose whether/where to save the file. It also requires the page to be open in a browser window in the first place. In the past, I looked into trying to us

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Matthias Koeppe
On Monday, December 7, 2020 at 1:57:22 AM UTC-8 Eric Gourgoulhon wrote: > Le lundi 7 décembre 2020 à 10:26:46 UTC+1, François Bissey a écrit : > >> > On 7/12/2020, at 10:25 PM, Antonio Rojas wrote: >> > Is there any reason for not making jsmol optional too? Isn't three.js >> the default rendere

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Eric Gourgoulhon
Le lundi 7 décembre 2020 à 15:01:58 UTC+1, dim...@gmail.com a écrit : > On Mon, Dec 7, 2020 at 10:02 AM Eric Gourgoulhon > wrote: > > > > > > > > Le lundi 7 décembre 2020 à 10:57:22 UTC+1, Eric Gourgoulhon a écrit : > >> > >> Indeed, this is currently the major drawback of Sage's three.j

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Dima Pasechnik
On Mon, Dec 7, 2020 at 10:02 AM Eric Gourgoulhon wrote: > > > > Le lundi 7 décembre 2020 à 10:57:22 UTC+1, Eric Gourgoulhon a écrit : >> >> Le lundi 7 décembre 2020 à 10:26:46 UTC+1, François Bissey a écrit : >>> >>> >>> >>> > On 7/12/2020, at 10:25 PM, Antonio Rojas wrote: >>> > >>> > Is there a

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Eric Gourgoulhon
Le lundi 7 décembre 2020 à 11:22:36 UTC+1, dim...@gmail.com a écrit : > isn't it something to ask the 🌲.js upstream for, a non-interactive png > export? > > Yes this sounds like something to do. I remember however that there was a discussion about some security issues in such a process. Maybe

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Eric Gourgoulhon
Le lundi 7 décembre 2020 à 12:51:46 UTC+1, Sébastien Labbé a écrit : > At some point in time, tachyon was used to generate static images of > Graphics3D objects. Why isn't not possible to use tachyon for the images in > the doc instead of jmol? > Technically, this is easy: it suffices to chan

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Sébastien Labbé
At some point in time, tachyon was used to generate static images of Graphics3D objects. Why isn't not possible to use tachyon for the images in the doc instead of jmol? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this gr

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Dima Pasechnik
isn't it something to ask the 🌲.js upstream for, a non-interactive png export? On Mon, 7 Dec 2020, 10:02 Eric Gourgoulhon, wrote: > > > Le lundi 7 décembre 2020 à 10:57:22 UTC+1, Eric Gourgoulhon a écrit : > >> Le lundi 7 décembre 2020 à 10:26:46 UTC+1, François Bissey a écrit : >> >>> >>> >>> >

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Eric Gourgoulhon
Le lundi 7 décembre 2020 à 10:57:22 UTC+1, Eric Gourgoulhon a écrit : > Le lundi 7 décembre 2020 à 10:26:46 UTC+1, François Bissey a écrit : > >> >> >> > On 7/12/2020, at 10:25 PM, Antonio Rojas wrote: >> > >> > Is there any reason for not making jsmol optional too? Isn't three.js >> the def

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread Eric Gourgoulhon
Le lundi 7 décembre 2020 à 10:26:46 UTC+1, François Bissey a écrit : > > > > On 7/12/2020, at 10:25 PM, Antonio Rojas wrote: > > > > Is there any reason for not making jsmol optional too? Isn't three.js > the default renderer these days? > > > > three.js still cannot be used to build the doc

Re: [sage-devel] Making the package jmol optional

2020-12-07 Thread François Bissey
> On 7/12/2020, at 10:25 PM, Antonio Rojas wrote: > > El lunes, 7 de diciembre de 2020 a las 6:11:31 UTC+1, Matthias Koeppe > escribió: > In https://trac.sagemath.org/ticket/30315 I propose to make jmol optional. To > my understanding it has been replaced by generally better options such as

[sage-devel] Making the package jmol optional

2020-12-06 Thread Matthias Koeppe
In https://trac.sagemath.org/ticket/30315 I propose to make jmol optional. To my understanding it has been replaced by generally better options such as threejs and jsmol. But it's possible that I'm missing something. The Javascript version of it, previously installed as part of jmol, is switche