See what's going on with flipcode!




 


Submitted by , posted on 30 September 2002



Image Description, by


VKPlasma - Smooth and colorful aggregating plasmas

This plasma is generated by drawing electrostatic fields created by charged particles. In order to obtain nice and colorful effect, the electrostatic force fields of each particle applies over different color fields, and some fields are somehow merged to produce a cool "aggregating" effect when the plasmas approache close.

No special trick is used here. A static t->1/sqrt(t) has to be generated in order to draw fast, and DirectX8 DirectGraphics, locks and backbuffers are used to produce the smooth effect.

The demo (with source code) is available here (56k)



[prev]
Image of the Day Gallery
www.flipcode.com

[next]


 


Copyright 1999-2008 (C) FLIPCODE.COM and/or the original content author(s). All rights reserved.
Please read our Terms, Conditions, and Privacy information.