Animation of Lines with Square and Rectangle (Blue)
Draw lines y=x and y=-x. Create a slider say 'c'. Then insert any number of points on previous lines such as (c,c), (-c,c), (c,-c), (-c,-c), (c+1,c+1)..., Now draw perpendicular lines in each point to y=x and y=-x. Choose Dynamic color Blue. Then animate slider 'c'.