FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Simulation, Artificial Life
(Moderator: REAS)
   Starfield Generator
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Starfield Generator  (Read 491 times)
Jerronimo

WWW
Starfield Generator
« on: Aug 29th, 2003, 6:20am »

I noticed a distinct lack of starfield generators (or perhaps I failed to look hard enough) so I just wrote one:
 
     http://www.cis.rit.edu/~sdlpci/Software/p5/stars/
 
It will generate up to 100 stars on screen, all with random velocities, and random color.  The color is defined in HSB mode, with constraints on each HSB to keep the stars resonably bright, and reasonably pale.
 
I'd love to change it so that each one is in three-space with a push/pop around them, and each with their own transformation matrices.  Then we could have the stars going in any direction, not just to the left.
 
Pages: 1 

« Previous topic | Next topic »