lab-cosmo / chemiscope

An interactive structure/property explorer for materials and molecules
http://chemiscope.org
BSD 3-Clause "New" or "Revised" License
119 stars 29 forks source link

Added cylinder shape type #321

Closed ceriottm closed 7 months ago

ceriottm commented 7 months ago

Very simple, self-contained PR to include a cylinder shape - started off to switch to cylinder when headLength was zero, but it seems cleaner to have a separate object even if it was a bit more coding.

ceriottm commented 7 months ago

Wanted to make a path integral visualization and got a bit dragged away. Overall these are just a few improvements to the shapes functionality:

ceriottm commented 7 months ago

OK all done. @Luthaf - since Rose has things to take care of these days, if you're happy I'd merge and move on.