Saturday, March 15, 2008

Animated Starry Background

As my wife was out with the kids I played around with the VertexPositionColor class and the DrawUserPrimitives in XNA. The outcome is this sample of a starry background where the stars change the color on a random basis.

The image does not really show how cool it really looks like :(


Source Code:
http://hamboeck.googlepages.com/XNAStarBackground.zip

No comments:

CSharpCodeFormatter