:D I used a little sin and cos functions, but they're not very complicated, just a way to make it look smoother. I also added a little feature which makes it smaller the farther it goes!