Date of Award


Document Type

Thesis open access


Computer Science

First Advisor

Matthew Hibbs

Second Advisor

Mark Lewis

Third Advisor

Paul Myers


Creating a unique dyed shirt requires accurately simulating a fabric model, implementing the ability to fold the fabric, encoding the process of dye diffusion through the fabric, and allowing for different color channels of dye to mix. These goals require an adherence to the physical properties and laws that govern the process of diffusion and a suitable representational model that this diffusion is conducted on and through.

This paper presents a model for the representation of fabric that is comprised of two layers woven together in a weave pattern. Using Fick’s Second Law of Diffusion and properties of the fabric and threads, we calculate the rate of diffusion for each cell of the fabric. This calculation is done over each color channel to allow for the full spectrum of dye colors to be realized. Using a relationship matrix, the fabric can be folded over itself, and the dye will diffuse over this fold into the layer on the other side. Most of the parameters involved in defining the type of fabric can be modified to allow for a large range of visual expression in the fabric. The results support the effectiveness and veracity of the model.