Page 1 of 1
					
				Starfield Simulation Revisited
				Posted: Wed Jan 24, 2024 2:47 am
				by Hutchboy
				Hello,
There is a discussion in the forums with the topic title "Starfield Simulation" but it is 10 years old now, so I thought it best to create a new topic.
Attached is my stack for implementing a star field with stars emanating radially from the center and some suggestions for potential modifications and uses in the instructions.  See the stack script header for additional references.
Happy coding,
Mike
			 
			
					
				Re: Starfield Simulation Revisited
				Posted: Wed Jan 24, 2024 4:05 pm
				by dunbarx
				Hi.
I tried something sort of in reverse, to duplicate the opening scene in the original "Star Wars" where a smoothly scrolling field of text narrowed and reduced its contents in textSize as it went along and disappeared into oblivion. This was about 14 years ago. Not perfect, as I recall.
Craig
			 
			
					
				Re: Starfield Simulation Revisited
				Posted: Mon Jan 29, 2024 1:51 pm
				by richmond62
				a smoothly scrolling field of text narrowed and reduced its contents in textSize
Um: I wonder if a series of fields each above the next in a group might not be a bit easier: no having to make the field appear trapezoidal, no having to set the 
textSize for individual lines.
 
			 
			
					
				Re: Starfield Simulation Revisited
				Posted: Mon Jan 29, 2024 3:16 pm
				by SparkOut
				
			 
			
					
				Re: Starfield Simulation Revisited
				Posted: Mon Jan 29, 2024 3:39 pm
				by richmond62
				In a Starfield time moves differently.  

 
			 
			
					
				Re: Starfield Simulation Revisited
				Posted: Mon Jan 29, 2024 3:46 pm
				by stam
				Hutchboy wrote: ↑Wed Jan 24, 2024 2:47 am
Hello,
There is a discussion in the forums with the topic title "Starfield Simulation" but it is 10 years old now, so I thought it best to create a new topic.
Attached is my stack for implementing a star field with stars emanating radially from the center and some suggestions for potential modifications and uses in the instructions.  See the stack script header for additional references.
Happy coding,
Mike
 
Hi Mike, you're posting nice stuff 
The only suggestion I would make is it would be good to have adjustable speed. 
This works so much smoother if you reduce the delay in updateStars to 25 milliseconds and even better to 10 milliseconds
Code: Select all
send "updateStars" to me in 10 milliseconds
 creates a more mesmerising effect I recon 

perhaps add a slider or similar to do this? Could be a vertical slider on the side of the screen like a kind of throttle?
Stam