Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple styles applied to multiple selections #10

Open
sethaxen opened this issue Mar 16, 2021 · 1 comment
Open

Support multiple styles applied to multiple selections #10

sethaxen opened this issue Mar 16, 2021 · 1 comment

Comments

@sethaxen
Copy link
Contributor

3dmol.js supports syntax like the following:
https://3Dmol.org/viewer.html?pdb=1YCR&select=chain:A&style=cartoon;stick:radius~0.1&surface=opacity:0.8;colorscheme:whiteCarbon&select=chain:B&style=cartoon;line&select=resi:19,23,26;chain:B&style=stick&labelres=backgroundOpacity:0.8;fontSize:14.
Here each selection selects some atoms, to which the subsequent styles are applied until the selection is reset, which allows sophisticated styling. It would be nice if the syntax here supported these kinds of complex styles and selections.

@jgreener64
Copy link
Owner

It's a good idea, I've added it to the todo list for this repo, I might get to look at it over Easter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants