Still learning after years

Aha!
I am getting forward!
This is dimming a RGB diod with different speeds.

void setup() {
  // put your setup code here, to run once:

}

int light;
int LED1=9;
int LED2=10;
int LED3=11;
//int analogWrite;

void loop() {
  // put your main code here, to run repeatedly:
  
light = sin(PI * 2 * millis() / 10000.0) * 127 + 127;
analogWrite(LED1, light);
light = sin(PI * 2 * millis() / 1000.0) * 127 + 127;
analogWrite(LED2, light);
light = sin(PI * 2 * millis() / 3000.0) * 127 + 127;
analogWrite(LED3, light);
}