It has always been the Holy Grail of materials science to describe and control the material's structure-function relationship. Nanoparticles are an attractive class of components to be used in functional materials because they exhibit size-dependent properties, such as superparamagnetism and plasmonic absorption of light. Furthermore, controlling the arrangement of nanoparticles can result in unforeseen properties, but such studies are hard to carry out due to limited efficient approaches to produce well-defined three-dimensional nanostructures.