Javascript visualization of a rotating line. Uses p5 library. Personal challenge to create a rotating line that changes its rotation axis when it hits a dot. Check on browser: https://sluhtala.github.io/rotating-line_p5/
Click the area to create more dots. Adjust rotation speed from slider.