Change the 'friction' parameter, and see how the pendulum is affected by it.
A swinging motion thing without using any trigonometric functions for the swing itself! The sin function used is to make the pendulum look more realistic. I could have used a non-trigonometric function there, but it would look slightly more clunky. https://scratch.mit.edu/projects/252210758