Play around with mathematical Lissajous Curves! These patterns are most used in laser scanning and LIDAR operations in the form of Lissajous Trajectories. In my demonstration, you can mix-and-match the ratios to find interesting patterns. (Sources and patterns sheet are listed in Notes and Credits.) ----------------------------------------------------------------- Instructions: Use "nx" and "ny" to configure the ratios of the wheel speeds. You can also scale the wheels if you want, to play around with stretching and compression of the x and y axis. Press "C" to clear screen and "R" to reset. IMPORTANT!!! The "nx" value MUST BE GREATER THAN OR EQUAL TO the "ny" value for it to work. Don't ask me, ask Jules-Antoine Lissajous. (Inventor of Lissajous Figures, also linked below)
THIS DEMONSTRATION IS NOT 100% ACCURATE. I tried to make it as best as I could, but Scratch has limits, so I had to do some workarounds. ------------------------------------------------------------------ Source for pattern/ratio checking: https://www.nature.com/articles/s41378-020-00211-4