basic particle simulator