PWM sine wave without "delay"

Ok, Great info. Thank you Holmes4 and PaulS! My project needs to be quick as it is based on an objects changing distance.
All of the "breathing" or "sleep" codes I have seen have a delay in them..Any thoughts on a code without it?