A video on YouTube shows the thermal decomposition of mercury thiocyanate. A strange thing I've observed is that $\ce{Hg(SCN)2}$, which is the reactant, is a white powder and the product is a yellow-brown solid serpent-like structure. How is this possible? What is the chemical reaction for this decomposition?
video link - https://www.youtube.com/watch?v=FaC4MqxUnFw