Custom Rug Form

I want to "build" this rug based on user input. Whatever the current carpet that is selected needs to appear. As border or serge options are selected, I need the carpet image to change to show the selected options.
I would like the serge yarn color and binding color to be multiple choice that shows each color. There may be 20 binding colors. There may by 100 serging colors.