Skip to content

Can we run snapShot() on a regular NGLViewer object? #16

@bioboot

Description

@bioboot

I was trying, without success, to render a static image of your beautiful NGLobjects. Ideally, I would like something like this:

library(NGLVieweR)

NGLVieweR("5p21") |>
   addRepresentation("cartoon") |> 
   snapShot(fileName = "eg.png")

What is the best way to do this currently?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions