|
Author |
Topic: Starfield Generator (Read 491 times) |
|
Jerronimo
|
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.
|
|
|
|
|