Shifting Patterns
Suggestions for using this
Try changing the values of the sliders (a and b) and seeing what happens to the number of each color of squares, the total number of squares for each pattern, and the formula.
See if you can describe the relationships between the values of a and b, the formula, and the pattern.