Animation of Lines with Square and Rectangle(Multi2)

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. Change thickness of lines. Choose Dynamic color combination of Red, Green Blue such as c, 3c, 4c etc. Then animate slider 'c'.