Mathematics is a very powerful tool to create beautiful works of art. By using mathematical formulas, we can create stunning animations. The trigonometric functions (especially sine and cosine) are the most useful mathematical tools to create such animations. Here are a few GIF animations that are made with sine and cosine functions. Each of these animations shows 8,000 moving circles. The sine and cosine functions have been used to determine the center and the radius of the circles.