word_len[i - 1] + 1refers to the length of the previous word (including a white space). We have two words, “Typing Animation.” That makestext_lenequal16meaning that each character is 6.25% of the full width (100/text_len = 100/16) which is multiplied by the length of the first...