changed raise_capacity to create particles over time based on emission rate rather than creating them all at once