-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Creating a plasma-effect in QB -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Writer: Matthew R.Knight In spite of the fact that QB is poorly equiped in terms of graphics capabilities, with some ingenuity, very impressive effects can be created. This tutorial will cover the theory behind creating a plasma-like effect in QB. Enjoy! In order to produce some plasma-like patterns we can use the Sine wave. The Sine wave is of course the graph of the trigonometric function: SIN. A Sine wave may be plotted on the Cartesian Plane by using the equation y = SINx. The properties of the Sine wave are as follows: * The graph reaches no height greater than 1, and no height lower than -1. The line y = 0 is the middle of the wave - In other words, the x-axis of the Cartesian Plane is the middle of the wave in terms of height. * The period (width) of the wave is 360. * The wave is above the line y = 0 where: 0