In order to connect to Border Tile Set, a rich number of edge colours is needed for Filling Tile Set - it may greatly increase the number of tiles within this tile set. This project attempts a different solution: all edge colours are derived from corner codes:
First of all, corners are coded by 0 and 1 (assuming that there are two types of corners). And then, edge codes are generated by corner codes, for example, if the right hand side corner code of the edge is 0 and the left hand side corner code is 1, then the edge code is 01.
Because there are 4 combinations for the 2-bit binary number, every edge can have 4 colours. Once colours are assigned to tile edges with corresponding edge codes, a new Wang Tile set is founded.