Inspired by this
lang spec with this feature
Future Rust Lib
Emulation of `for` loop that runs back and forth, like a triangular waveform, rather than the usual sawtooth