My wife painted our porch floor in sort of an argyle pattern with a border. That takes two equations and two variables to work out a pleasingly proportioned pattern that also meets the border in a uniform way.