Inside assets/js/particle.js lies the code for the typewriter effect on the landing page. The code, however, moves through the array of words found in the data-words attributes, and once done, makes a recursive call to entry. This causes infinite recursion, leading to inefficiency.
Solution
Modification of the incrementing strategy of wordsCount i. e. Increment it using modular arithmetic to return to its initial value once all values are iterated over.
Description
Inside
assets/js/particle.js
lies the code for the typewriter effect on the landing page. The code, however, moves through the array of words found in thedata-words
attributes, and once done, makes a recursive call toentry
. This causes infinite recursion, leading to inefficiency.Solution
Modification of the incrementing strategy of
wordsCount
i. e. Increment it using modular arithmetic to return to its initial value once all values are iterated over.If approved, I would like to work on this.