clamp function explanation - Kevin Powell - Community