Objective: Create an accurate chocolate molecule using only SVG.
Problem: How can we line up the hexagon and pentagon? How can we make the molecule bits off to the side?
Solution: Using a shape generator we can move around the pentagon until it’s edge points line up with the points on the hexagon. In order to calculate where the molecules off to the side are we have to first calculate the angle of the side opposite of it. Then we can use the complement.