With temporal analysis of spatial distributions of air pollutants and swarm intelligence algorithm, Spacegen is able to trace precisely air pollution sources of origin, right up to the factory which is responsible for the pollution. While on a macro-scale analysis, we could track the transmission channel of the air pollutants and estimate the proportion of air pollution coming from foreign sources.