I’ve got a
Sequence<Frame> that is
constrainOnce, and I’d like to merge together the first 30 frames.
Is it possible to “nibble” 30 items off the front of the sequence without killing it for later use? Because if I
.take(30), I can’t then average the next 40 frames later, because the Sequence is used up at that point.
Maybe I have to get the
iterator() of it, call
next() 30 times, then turn the iterator back into
asSequence() at the end to continue working through the frames? But that seems hacky.