The most common need that I’ve seen for this kind of behavior is going back to the beginning after you’ve reached the end (but making it look like you just keep going, except with slide 1 etc) — the duplication on the ones I’ve seen seems ridiculous… slick slider (http://kenwheeler.github.io/slick/ ) looks really good but I haven’t looked into their implementation details yet.

I made a fork without any of the processors, but it still has jQuery https://codepen.io/Julix/pen/GvgLoo