The goal of this converter is to take a JavaScript matrix as input and apply rules specified in a rule file to the matrix. This rule file is a JSON file containing key value pairs, the keys being the hexadecimal color value of a block and the values being settings like texture, size, rotation, bump map, shape and color. The rules file is interpreted by an Interpreter pattern which extracts the hexadecimal values, dtermines which objects can be associated with which color and then renders the object with all the associated rules applied to each relevant object.
The example below is aimed at showing the versatility of this converter in texturing the same object in completely different ways.