Reinstating the texturize function.
Removing console.log calls to improve performance for demos.