If there was someone nearby, then they would have seen some of the color from the pink cylinder rub off on the blue cylinder.
But you likely wouldn't have noticed even if you weren't distracted. Looking at your own body would have been difficult in your state.
You should have probably felt concerned about the sudden craving for pig slop you had developed, but were too caught up in the moment.
The pig on the other hand gained a wealth of knowledge about food it could have never even imagined when some of you rubbed off,
making it rub against you with even more enthusiasm. It learned about countless enjoyable facettes of life, including everything from romance to mountaineering, while you gained knowledge about good sleeping spots and the best ways to breed a sow.
The two cylinders kept rubbing against one another for a long time, exchanging parts of their outer layer while doing so,
until they had completely traded colors. If one were to look at their insides, then they would see the original color of each cylinder,
but their surfaces had swapped entirely.
The pig was looking at the world in a brand new way, having learned about things far more complex than it would have been able to understand under normal circumstances, while Beth had her desire for romance replaced by a need to breed and her desire for good food with the desire to be the first at the trough to get the best slop.