fogleman/ribbon
View on GitHub ↗ ★ 258 Go
Ribbon diagrams of proteins in #golang.
5 mentions on Hacker News by 4 people: 2 stories, 3 comments · first 2017-03-16 · latest 2024-05-14
20082026
-
Looking at this function: https://github.com/fogleman/ribbon/blob/master/ribbon/camera... it's getting the carbonyls (C and O atoms) and then trying to pick a view vector based on maximising some scores ... of some kind. Like the aspect…
comment by gilleain · 2024-05-14 · in Pen Plotter Programming: The Basics (2017) -
I’m not sure how is he orienting the camera in his library ( https://github.com/fogleman/ribbon ), but the usual approach is to maximize what is shown on the X and Y axes by e.g. aligning principal components (as PyMOL does).
comment by flobosg · 2024-05-14 · in Pen Plotter Programming: The Basics (2017) -
Rendering ribbon diagrams of proteins using nothing but Go & its standard library: https://github.com/fogleman/ribbon Also been plotting them with my AxiDraw v3 plotter: http://i.imgur.com/u6pN4G2.jpg
comment by fogleman · 2017-04-04 · in Ask HN: What are you working on?