I used a simple beating animation like this in my code:
function prepareLabelBeatStart() { const prepareLabelGroup = document.getElementById("prepare