Ok.. I have this really cool idea for LED's, but I need a good way to auto dim them. I found a couple cool dimmer circuits on the web, but they all depend on someone twisting a pot to raise and lower the brightness. I want one that will make an array of LEDs slowly fade off and slowly fade back on, forever.

I'm stumped on how I'm going to do it, I was thinking I'd just build a circuit that simulates a pot for the voltage regulators that would dim and brighten the LEDs, but I haven't had any luck finding such a circuit anywhere. Anyone know how I can pull this off? Oh, and if I can vary the speed of the dimming/brightening, that'd be a huge plus.
Thanks.