LK 
		
		YaBB Newbies
		Offline 
		
		
		Posts: 7
		Toronto
		
		
		
 
	
		
			
				Optimizing gravity simulator th , 2009, 9:11pm 
			
				
	  
		
		
			Hi all. I've been playing around with a little n-body simulator for a while now, as a way to level up my coding skills. I've got the basic numerical engine working (using a leapfrog scheme) and have just switched over to opengl. I'm using peasy cam to allow you to fly around within the gravitational interaction, and study the tracks left in 3d. (Unfortunately, the openGL background refresh bug forces me to be constantly redrawing histroy, but it still seems to run smoother overall in openGL. )