Bill Stanbrook #1 The particle physics engine linked to below has some equations in it which may be useful to you.http://www.blitzbasic.com/codearcs/codearcs.php?code=751