Closed arouinfar closed 4 years ago
Great catch @arouinfar. The bonds were being created according to their bond order. However, they needed to be adjusted so the higher-order bonds would be displaced from a specific offset. What do you think about this dev version?
Here are some visuals:
Single Bond
Double Bond
Triple Bond
Looks great @Denz1994!
Noticed during #150. The the ball and stick representation is not showing double or triple bonds. This is a deviation from Java, and is pedagogically problematic.
Example of a molecule containing a double bond![image](https://user-images.githubusercontent.com/8419308/73293758-b175c380-41c1-11ea-96d5-2571e05ac048.png)
Example of molecule containing a triple bond. (Admittedly, this looks pretty gross in Java.)
![image](https://user-images.githubusercontent.com/8419308/73293836-dc601780-41c1-11ea-93f6-5e0493b68fbb.png)