To create 2,000 Hun soldiers during the Huns' attack sequence, the production team developed crowd simulation software called "Attila". This software allows thousands of unique characters to move autonomously. A variant of the program called "Dynasty" was used in the final battle sequence to create a crowd of 3,000 in the Forbidden City. Pixar's photorealistic open API RenderMan was used to render the crowd. Another software developed for this movie was "Faux Plane", which was used to add depth to flat two-dimensional painting. Although developed late in production progress, "Faux Plane" was used in five shots, including the dramatic sequence which features the Great Wall of China, and the final battle sequence when Mulan runs to the Forbidden City. During the scene in which the citizens of China are bowing to Mulan, the crowd is a panoramic film of real people bowing. It was edited into the animated foreground of the scene.