Really, just take the AUM25 example and change a couple of lines so that you can add more spheres at random times. This takes less than 30 minutes of coding and you can see if the results are okay or not (btw you also want to set friction to 0 and maybe lower ph_fps_max_lock to less than 70 for better performance).