It’s clearly not quite right but close. I put an extra slider in to try to work out where the circles go and this gives quite a nice effect. ]]>

And I’m using this to teach piecewise functions next fall too…

]]>I do this without a graph as an icebreaker with my math students and this is the answer. I might start to use this version in the fall. ]]>

https://www.desmos.com/calculator/0anxshet1w ]]>