I am finally getting my hands dirty with Löve so can I just like, pre-emptively apologize for all the posts I will be making asking for questions over weeks and months to come?

TLDR: How do you sidescroll at a fast rate without things getting all blurry/hard to see?
Okay, I am trying to scroll a background left/right, when I do so it tends to "blur" if I set it at a fast enough speed. With such a fast frame rate, that totally makes sense, but for reference see OurTeamSmoothScroll.love to see what I mean. Try hitting left/right arrows, and the spectators faces with quickly blur as you scroll.
For my approach to solving this, I add a counter and step to the scroll table. The counter is incremented every update loop iteration, and the step variable is the max ceiling this counter should reach.
Only when the counter equals the step variable is the x value of the background being scrolled change. So the effect is the background is sort of scrolled in "chunks" or "steps".
This looks way better visually, sort of a chunky old school aesthetic that I"m going for. Def. no blurring.
Is this a sane/standard way of doing things, or is there some way easier way to not draw every frame, that I am missing?
Also here are gists of the two love files for your convenience:
https://gist.github.com/ianfitzpatrick/ ... c4e1d5b0ac
https://gist.github.com/ianfitzpatrick/ ... 9a18e57290
Thanks!
Edit: Originally had the wrong inline link for smooth scroll. Clarified a few other things too.