English / Español

Letter-pairs analysis application

Information visualization / Processing

Load online version


This project consists in a programming application that is able to read a text and to calculate in real time the number of times each pair of letters appears in a given text. On the basis of this information a graphical representation is made in real time as well. For each new given pair of letters found in the text, the program generates a new bubble. The surface (size) of each bubble is proportional to the number of times it appears in the text. At the same time, each bubble defends its space moving its neighbors. The final output result of this algorithm allows you to have a fast and comprehensive vision of which are the pairs of letters more used in certain text and language. On the basis of this information it is possible to make decisions to design new typography according to the chosen language and/or text.

Check out the new HTML5 online version.

Some examples in different languages

See examples

Technical notes

The original application is thought to be run under OPENGL. The version online of this application works with a reduced frame rate. This low performance is due to the fact that online the graphics acceleration of OPENGL cannot be used through java.

For the screen capture a special version of the application was developed that is able to save the graphics in vector-based format Adobe Illustrator by using AIExport for Processing Beta library. Using this version of the application it is possible to print the graphical results in hi-res and large sizes (due to the vector-based resolution of the graphics).