The rate of sublimation increases with increasing temperature. This is because the higher the temperature, the greater the difference in the free energy of the solid and gas phases. The rate of sublimation also increases with increasing surface area. This is because the greater the surface area, the more molecules of naphthalene will be able to escape from the solid and into the gas phase.
Naphthalene balls are often used as a moth repellent because they release a gas that is toxic to moths. The gas is also toxic to humans, so it is important to use naphthalene balls in a well-ventilated area.