These two variations of the script with the same behavior were created to compare performance and elegance of the code. The script itself (as well as CSS and HTML) goes from here, it is not mine.
- jquery-circles.html contains optimized variant of the initial script.
- vanilla-circles.html contains reworked version without jQuery, it has some features at ES2016 level and follows Standard style guide.