Christmass coding : RGB Plasma

Published 25 December 5 11:45 PM | Ramon Smits
It seems that I wasn't the only one with some demoscene nostalgia as Frans was first today with his cheesy rotozoomer!

Way to go Frans! :-) You can see his christmass coding rotozoomer here.

Well I was more in the mood for a simple plasma. I started with the usual math stuff like how did that cos / sin stuff worked and after that I had more questions like how to have a fps indepandant time correct effect and unsafe code for performance . But I wasn't really satisfied with the standard XOR'ed circles and decided to use the RGB components and merge them. Below is a screenshot but I seriously suggest you download the archive and see it running.

Most code was written today but some was in the fridge for months. Waiting for a day to finish it and well.. today was the codes lucky day.



Download c# RGB plasma (needs visual studio express to build)

I also included a rotating star field as a bonus ;-).. it was the first effect to see if the crappy gdi based code actually worked. Right click the effect for a context menu to select the framerate. Press F12 for a bitmap save of the effect.

Effect source is included.
Filed under: , ,

Comments

# Frans Bouma said on December 25, 2005 3:16 PM:

haha You too! :D. Plasma's were great indeed :) All those plane math back in the days... :) So we have already 2 effects, your plasma, my rotozoomer.. some sine scrollers and a parallax and we're done with a quick demo! :D

# Ramon Smits said on December 26, 2005 2:21 AM:

hmm parallax scrollers. Those were cool! The first parallax scroller I made was in Amos Pro :)

Some more effects and we can assemble a .net demo suit :) something like RSI's demomaker on the Amiga. That reminds me that it also should atleast have bobs.. and all those cool image fades.

# Ramon Smits said on December 26, 2005 3:00 AM:

Chiptunes! :) Also a big part of that oldskool feeling. The first name I thought of was 4mat and after a wikipedia search I found his name Matthew Simmonds. Hmm... I think I will be listening to Nectarine today :)