Battus polydamas pupae take on two different color forms determined by surroundings, not sex. If the larva pupates on a smooth surface, it will usually produce a green pupa as it equates smooth with new growth. If the surface is rough, it equates that as mature growth and that normally produces the brown variation.