📄️ calculateProgress
The calculateProgress() function calculates the progress made towards a goal, given the current progress.
📄️ clamp
The clamp() function clamps a value between a minimum and maximum value.
📄️ getAverage
The getAverage() function calculates the average of an array of numbers.
📄️ normalizeValues
The normalizeValues() function normalizes an array of numbers so that they fall within a specific range.