I wanted to try again and this time create something that appears to be in motion. I decided to create a circle that looks like it is decreasing in size. I started with a circle that is centered and has a radius the size of the display box. I declared variable x to be the radius of the circle in the x and y direction . Then I set up a function which allowed the radius to reduce by 1 in each direction. After accomplishing a circle that decreased in size, I wanted to make the color change as the size changes. I declared another variable to control the stroke. This variable, y, was used for two values in the stroke: Stroke (“y”, value 2, “y”). Changing the color was successful but when I tried to take the next step and make it look as if it were fading in and out, I couldn’t get it to work.
This slideshow requires JavaScript.