Op-amp integrators can ramp to saturation, and a capacitor-discharge switch can reset them. Alternatively, you can input-switch them to ramp up and down in triangle-waveform-generator applications.
The most straightforward way to generate a ramp waveform is to drive a capacitor from a constant current source. If the constant current source is ideal, meaning that its source impedance is infinity, ...