You will notice that some of the atoms in the atomic formula, namely all the carbons and most of the hydrogens, appear to be missing from this diagram. This is a convention used to reduce clutter in the diagram. The rules whereby carbons are numbered are too intricate to get into here. It's orange on our diagram. However, capsaicin is not a simple flat molecule.
Atoms are free to rotate within their bonds, and bonds can flex.
Fortunately, for a small molecule like capsaicin, solid-structure calculations are fairly trivial. This, on the other hand, is a three-dimensional view of the capsaicin molecule, using calculated molecular modeling date, in this case from Dr. Robert Lancashire . The actual molecular structure of Capsaicin has been directly solved with X-Ray crystallographic methods, and I'm getting hold of the information as quickly as possible. If you would like to see rotated views of the 3D structure of capsaicin, several pictures can be found on the static structure picture gallery . Capsaicin is registered by the USDA as a repellent against dogs, birds, voles, deer, rabbits, and tree squirrels, and for use as an insect toxicant and repellent.