gosling.js icon indicating copy to clipboard operation
gosling.js copied to clipboard

Include interactive brushes in PNG/PDF export files

Open sehilyi opened this issue 3 years ago • 1 comments

Since brushes are rendered in SVG elements, they are not included in PNG files along with WebGL graphics. We need to change SVG elements to WebGL graphics or dynamically render brushes upon exporting PNG files.

Screenshot of Actual Visualization

Screen Shot 2021-05-18 at 7 26 37 PM

Exported PNG File

visual-linking

sehilyi avatar May 18 '21 23:05 sehilyi

This can be done by setting the opacity of the current SVG-based brush elements 0 and drawing the identical Arc graphics using Pixi.js, i.e., the current SVG elements are for interaction, and the Pixi.js elements are for display.

sehilyi avatar Jul 08 '21 21:07 sehilyi