implemented a mini-language to build textures