Has anyone taken the plasma demo apart to the point of being able to produce plasma of any given size. I had a quick attempt with Burning Sheep's demo but could not see how to re-code to have a smaller piece of plasma rather than full screen.
You'll need to change the width and height constants. You'll also need to set an arbitrary width and height later on in the code (it currently just calls GetWidth and GetHeight). You'll also need to adjust the line offset increment accordingly. You'll also need to adjust the x1,x2,x3,y1,y2,y3 variable calculations accordingly for the size you select.
All that and it's still not quite right, and it will still have to aligned to the upper left-hand corner of the screen.
Argh, not worth it