The versatility of GDL programming allows to exploit the mathematical functions to create lattices that can be deformed at will. Using such a lattice one can construct images on the type of Optical art.
In these examples we start from the construction of sub-modules of the square. It is possible to insert any number of nodes on the side of each submodule. This allows the initial lattice to be transformed even according to curved lines, for example by transforming the contour into a circle or by using Bezier curves for deformations performed by means of graphic editing. In the first two examples, the linear form is maintained, since the elongations follow the axis directions. In this case it is not necessary to insert intermediate nodes for the submodules