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

More cartoon options for nucleic acids. #559

Open
Psirving opened this issue Feb 14, 2022 · 10 comments
Open

More cartoon options for nucleic acids. #559

Psirving opened this issue Feb 14, 2022 · 10 comments

Comments

@Psirving
Copy link

Is your feature request related to a problem? Please describe.
I'd like more options for nucleic acid cartoon styles. Particularly, something like PyMol's cartoon_ring_mode,3 or how they appear on the PDB website.

Also, your documentation seems to end prematurely under "CartoonStyleSpec" in the middle of a sentence about nucleic acids. So I'm not sure if something like this is possible already.

Describe the solution you'd like
I'm using py3Dmol.
view.setStyle({"cartoon": {"style": "NA_rings_3"}}) --> similar to cartoon_ring_mode,3 in PyMol.
view.setStyle({"cartoon": {"style": "NA_rectangles"}}) --> similar to PDB representation

Describe alternatives you've considered(Optional)
I've played around with addCustom, addBox, and addCylinder. This seems like a solution, but would require more time than I have.

@dkoes
Copy link
Contributor

dkoes commented Mar 8, 2022

I've added this is a possible project for Google Summer of Code: https://wiki.openchemistry.org/GSoC_Ideas_2022#3Dmol.js_Project_Ideas
Hopefully someone will pick it up.

@paul-111
Copy link

can i work upon it?

@paul-111
Copy link

@dkoes

@dkoes
Copy link
Contributor

dkoes commented Mar 14, 2022

Certainly

@sachinsh01
Copy link

Hello @dkoes , I'm Sachin Sharma and I'm interested in contributing to this project for GSOC 2023.

I have experience with JavaScript and client-server programming, and I'm excited to learn more about nucleic acids visualization. I've read through the project description and related documentation and I'm interested to contribute to the project.

I would love to discuss the project with you and learn more about any additional details or requirements. Please let me know if it is available.

Thank you

@dkoes
Copy link
Contributor

dkoes commented Mar 16, 2023

A project proposal should include examples (from other software) of what the output will look like and describe what data you will use to test your code. It should be pretty straightforward. You might want to extend it with alternative representations for carbohydrates as well.

@sachinsh01
Copy link

Hello @dkoes, I have started working on the project proposal. My plan is to share the link to my proposal document with you so that you can review it and provide me with your feedback as needed. This way, I can make sure that the proposal meets your expectations and includes all the necessary information.

Please let me know if this approach works for you, and if you have any suggestions or concerns. I'm excited to get started on this project, and I appreciate your guidance and support along the way.

@dkoes
Copy link
Contributor

dkoes commented Mar 17, 2023

Sounds good to me.

@prince-patel23
Copy link

Hi @dkoes ,

Hi David,

I'm keen on contributing to the 3Dmol.js project for GSoC 2024. I have experience in web technologies, especially the MERN stack, along with skills in SCSS, TypeScript, and Blender. I'm passionate about 3D modeling and see this as an exciting opportunity.

I've identified areas for improvement on the GitHub Issues page and would like to discuss them further.

Thanks,
@prince-patel23

@perminder-17
Copy link

Hi @dkoes I understand the situation better now. Initially, I thought we were focusing on shader modifications, but upon reading the issue thoroughly, it seems we're leaning towards simplifying the molecules into sticks.

image

This involves creating geometry for these rounded sticks. Additionally, I believe we'll need to establish values or perhaps use a straightforward syntax similar to set cartoon_ring_mode, value where different values produce different effects. I'll outline my proposal and detail a basic implementation plan in our codebase. Could you please review it via email ( [email protected]. ) ? I've grasped the codebase well and have a clear idea for its implementation. I have previously contributed to these kind of projects where we involve creative coding, webgl, etc. etc.

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

No branches or pull requests

6 participants