nDisplay screens algorithm

Is anybody know - how nDisplay render or calculates screen transformations for flat screens?
For example - these side screens:

How I can reproduce these screens outside UE?

Any ideas?