Planck’s Law Simulation Using Particle Systems