JerryI / Mathematica-ThreeJS-graphics-engine

A parser for Wolfram Mathematica's Graphics3D functions (written in JS)
27 stars 2 forks source link

[Feature Request] Export individual plot as HTML which can be added to another article. #31

Closed colcav closed 1 month ago

colcav commented 1 month ago

Based on Rousan's question in the Telegram Support chat. I am also interested in this feature!

Currently, an entire notebook can be exported as HTML. However, extracting a given graphic from this HTML file is complex and difficult. A feature which enables a single graphic to be saved or exported, such that this graphic can be embedded in a new article, would be great!

JerryI commented 1 month ago

++ We are working on MDX export, since it might be easier to embed. But in principle, in the end this will be a JSON file and a few JS libs included to the header of your blog/page.

colcav commented 1 month ago

Gotcha! That sounds great. Thanks for the quick reply.

Col

On Wed, Jul 17, 2024 at 8:54 AM Kirill Vasin @.***> wrote:

++ We are working on MDX export, since it might be easier to embed. But in principle, in the end this will be a JSON file and a few JS libs included to the header of your blog/page.

— Reply to this email directly, view it on GitHub https://github.com/JerryI/Mathematica-ThreeJS-graphics-engine/issues/31#issuecomment-2233654462, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJ5TVUCS7YN5LRIC7GKTYG3ZM2HVDAVCNFSM6AAAAABLA5BUMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZTGY2TINBWGI . You are receiving this because you authored the thread.Message ID: @.*** com>

colcav commented 1 month ago

Do you all have a sense of when you expect to have the MDX export up and running? No rush, of course -- just wondering if you have an estimate!

Many thanks, Col

On Wed, Jul 17, 2024 at 8:58 AM Col Cavanaugh @.***> wrote:

Gotcha! That sounds great. Thanks for the quick reply.

Col

On Wed, Jul 17, 2024 at 8:54 AM Kirill Vasin @.***> wrote:

++ We are working on MDX export, since it might be easier to embed. But in principle, in the end this will be a JSON file and a few JS libs included to the header of your blog/page.

— Reply to this email directly, view it on GitHub https://github.com/JerryI/Mathematica-ThreeJS-graphics-engine/issues/31#issuecomment-2233654462, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJ5TVUCS7YN5LRIC7GKTYG3ZM2HVDAVCNFSM6AAAAABLA5BUMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZTGY2TINBWGI . You are receiving this because you authored the thread.Message ID: @.*** com>

JerryI commented 1 month ago

Do you all have a sense of when you expect to have the MDX export up and running? No rush, of course -- just wondering if you have an estimate! Many thanks, Col On Wed, Jul 17, 2024 at 8:58 AM Col Cavanaugh @.***> wrote:

Since this feature gathers a lot of attention, this probably will be the next step. The current plan is

Best, Kirill

colcav commented 1 month ago

Good to know! Thanks a bunch.

Col

On Wed, Jul 17, 2024 at 12:37 PM Kirill Vasin @.***> wrote:

Do you all have a sense of when you expect to have the MDX export up and running? No rush, of course -- just wondering if you have an estimate! Many thanks, Col On Wed, Jul 17, 2024 at 8:58 AM Col Cavanaugh @.***> wrote:

Since this feature attracts a lot of attention. This probably will be the next step. The current plan is

  • 18-20 Jul - New major update of WLJS (bug fixes, polished editor...)
  • end of Jul - beginning of August - MDX export or HTML, whatever fits better

Best, Kirill

— Reply to this email directly, view it on GitHub https://github.com/JerryI/Mathematica-ThreeJS-graphics-engine/issues/31#issuecomment-2234093921, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJ5TVUBY7Z22SVBD54HF4ITZM3BWPAVCNFSM6AAAAABLA5BUMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZUGA4TGOJSGE . You are receiving this because you authored the thread.Message ID: @.*** com>

JerryI commented 1 month ago

We rolled out it in a new release. Here is how it looks

https://github.com/user-attachments/assets/82935e55-54d5-4b0c-8c9b-aaddfa95d921