 The main idea is to create a grid (a histogram) overlaid on the state space.Each bin in the histogram is initially empty.At each iteration, a new particle is drawn from the previous (weighted) particle set with probability proportional to its weight.