-Non-interactive- This project shows how you can use sin and cos to animate sprite movement as well as control particle animation.
The main sprite uses the sin function to animate it's Y axis while steadily incrementing the X axis either pos or neg. The particles choose a negative Y axis speed at random upon creation and uses the cos function to animate itself on the X axis