Particle Shader

Is this the shape the particles are supposed to transform into? It seems to me that the main problem is the creation of an algorithm for placing particles in space in order to obtain a visually similar figure.