Synthesis of three-dimensional nanoscaffolding