Well I used the source code of one of the hacks in the xscreensaver as a base but found that its method of writing to the screen was to slow (i needed every pixel to be updated every frame) so after some searching I came across XCreateImage/XPutPixel/XputImage as a way of off screen buffering my changes.
One of the big things with xscreensaver is it should work on any color depth and because of this I am finding it hard to select the colors I want :(
I tried to get a free upgrade to my mobile phone to find a '*free*' upgrade would cost me 75 quid (t-mobile) so I said "but, I can just cancel the phone and sign up and get the same phone *free* from YOU!", so they put me through to another department that offered my the same deal for the cut price of 35 pounds, "Err, no, I want a free phone !", not something they can do, so I tried to cancel. "We need to speak to the owner of the phone" (it had been Sarah's originally) my reply "I am ringing from the phone, I have given the password correctly, I am the bill payer and the owners husband, plus she will not have these details", they reply "No, must speak to the registered owner", so I hung up got Sarah to ring back canceled the phone and now I am getting a nice new Nokia 7650 from o2 (*free*) oh and "my phone is a Nokia" ;)
Got my color stuff worked out only now I try it full screen it is not fast enough, but of course with my 1280x960 display it is running that many pixels per frame, I could either, find a quicker way of changing the pixels (avoiding XPutPixel) or change the display to 800x600 etc, I am not sure now to change the screen in X.