Hullo 'Duino.CC from another Noob

Hullo All.

Another Noob here. Like others i have reassuringly read, it took a few weeks of noseying around to make the jump from LED blink, to something useful. (i have been trying a few other things but a lot of them end up out of my league at the moment)
So. Here is my latest tinkerings

3 Photo resistors, bottom left, control the R, G and B pins on a pair of RGB LEDs. (right, obviously)
I have also included a potentiometer, and have been fiddling around with the maths functions, adding, subtracting and dividing the Values from the Pot, with the values from the Photo resistors.
The Pot output is currently run out the serial monitor too, but thats because i was struggling with what maths to apply to the second LED.
In reality this just ends up as "hue" control, as it just adds or reduces "white".
I think i will try and make it truely mix the colours by making it do a different calculation for each LED, or reference the other LED light levels in the calculations.
Anyhoo, I was quite chuffed with it. Even my GrillFiend was impressed!

I hope this Code formats ok. For some reason, my Lubuntu wont copy and paste direct from the IDE, but will if i paste it into a txt doc, then cut it out again. Bizzare.

/*
 * A simple programme that will change the intensity of
 * an RGB ED based  * on the amount of light incident on 
 * 3 photo resistors. One Photo resistor per colour (RG&B)
 * Now featuring a Potentiometer to confuse matters
 * Serial Output included to make some attempt to balance
 */

//PhotoResistor Pins(include pull up resistors)
int lightPinR = 1;
int lightPinG = 2;
int lightPinB = 3;

//LED Pin (include appropriate resistors)
int ledPinR = 9;
int ledPinG = 10;
int ledPinB = 11;
int ledPinR2 = 3;
int ledPinG2 = 5;
int ledPinB2 = 6;

//Potentiometer (must be analogue pin)
int PotPin = 4;
int PotValue = 0;

void setup() //define LED Pins. LED 1 and LED 2 & enable serial
{
  Serial.begin(9600);

  pinMode(ledPinR, OUTPUT);
  pinMode(ledPinG, OUTPUT);
  pinMode(ledPinB, OUTPUT);
  pinMode(ledPinR2, OUTPUT);
  pinMode(ledPinG2, OUTPUT);
  pinMode(ledPinB2, OUTPUT);
}

void loop()
// By editing the mapping of the LEDs and the constrains, variable effects can be made per LED
// (hence seperating LED 1 and LED 2) Note inversion of resistance mapping on LED 2
// Pot Value added. (Pot range 0 - 1023. LED output is 0 - 255. 
// therefore  subtracting or adding POT value divided by 4 or 5 has appropriate scaled impact
{

  //PotPin

  PotValue = analogRead (PotPin); // Read the value
  PotValue = map(PotValue, 0, 1023, 0, 255);
  PotValue = constrain(PotValue, 0, 255);
  Serial.println(PotValue); // writes the remapped Pot Value, rather than the original value
  delay(10);  // delay slows Serial output without detracting from the light refresh rate.
              // (delay freezes all other processes, so may cause erratic effects

  // Red colour sensor writes to LEDs

  int lightLevelR = analogRead(lightPinR);           //Read the lightlevel
  lightLevelR = map(lightLevelR, 200, 700, 255, 0);  //adjust the value. 0 to 900 resistance on the PR,  to LED capacity span 0 to 255
  lightLevelR = constrain(lightLevelR, 0, 255);      //make sure the value is betwween 0 and 255 to prevent LED damage
  analogWrite(ledPinR, lightLevelR);                 //write the value to LED1 Red Pin   

  int lightLevelR2 = analogRead(lightPinR);           //Read the lightlevel
  lightLevelR2 = map(lightLevelR2, 200, 700, 255, 0); //adjust the value. 0 to 900 resistance on the PR,  to LED capacity span 0 to 255
  lightLevelR2 = constrain(lightLevelR2, 0, 255);     //make sure the value is betwween 0 and 255 to prevent LED damage
  analogWrite(ledPinR2, lightLevelR2+PotValue);       //write the value to LED2 Red Pin. Include PotValue Calc


  // Green colour sensor writes to LEDs

  int lightLevelG = analogRead(lightPinG);           //Read the lightlevel
  lightLevelG = map(lightLevelG, 200, 700, 255, 0);  //adjust the value. 0 to 900 resistance on the PR,  to LED capacity span 0 to 255
  lightLevelG = constrain(lightLevelG, 0, 255);      //make sure the value is betwween 0 and 255 to prevent LED damage
  analogWrite(ledPinG, lightLevelG);                 //write the value to LED1 Green Pin

  int lightLevelG2 = analogRead(lightPinG);           //Read the lightlevel
  lightLevelG2 = map(lightLevelG2, 200, 700, 255, 0); //adjust the value. 0 to 900 resistance on the PR,  to LED capacity span 0 to 255
  lightLevelG2 = constrain(lightLevelG2, 0, 255);     //make sure the value is betwween 0 and 255 to prevent LED damage
  analogWrite(ledPinG2, lightLevelG2+PotValue);       //write the value to LED 2 Green Pin. Include PotValue Calc


  // Blue colour sensor writes to LEDs


  int lightLevelB = analogRead(lightPinB);           //Read the lightlevel
  lightLevelB = map(lightLevelB, 200, 700, 255, 0);  //adjust the value. 0 to 900 resistance on the PR,  to LED capacity span 0 to 255
  lightLevelB = constrain(lightLevelB, 0, 255);      //make sure the value is betwween 0 and 255 to prevent LED damage
  analogWrite(ledPinB, lightLevelB);                 //write the value to LED 1 Blue Pin

  int lightLevelB2 = analogRead(lightPinB);           //Read the lightlevel
  lightLevelB2 = map(lightLevelB2, 200, 700, 255, 0); //adjust the value. 0 to 900 resistance on the PR,  to LED capacity span 0 to 255
  lightLevelB2 = constrain(lightLevelB2, 0, 255);     //make sure the value is betwween 0 and 255 to prevent LED damage
  analogWrite(ledPinB2, lightLevelB2+PotValue);       //write the value to LED 2 Blue Pin. Include PotValue Calc
}