There is a huge family of recurrent functions, which starts with equilibria and ends with Poisson stable functions. They are fundamental in theoretical and application senses, and they admit a famous history. Recently, we have added the unpredictable functions to the family. The research has been performed in several papers and books. Obviously, theoretical and application merits of functions increase if one provides rigorously approved efficient methods of construction of concrete examples, as well as their numerical simulations. In the present study, we met the challenges for unpredictability by considering functions of two variables on diagonals. Algorithms have been created, and they are both deterministic and random. Characteristics are introduced to evaluate contributions of periodic and unpredictable components to the dynamics, and they are clearly illustrated in graphs of the functions. Definitions of non-periodic compartmental functions are provided as suggestions for the research in the future.