Here is a tool I made to rotate a quasi 3D card without having to use any of Nuke’s 3D tools. Internally, it is simply a corner pin node with its points connected to some float sliders with some additional math to determine its position in 2D space. This was my first time diving a little deeper into what can be done with Nuke expressions, beyond simply linking two knobs together, or a basic sine function. It heavily relies on the modulo operation to allow the points to bounce back and forth repeatedly.

Here is a short demo:

The controls are pretty simple. There is an x axis rotation, a y axis rotation, and a depth control. The depth control allows the user to set the “focal length”, or how much the image appears to stretch on the z axis.

Here is an example of the expression used on one of the points. All points use a similar expression, it was just a matter of adding or removing negatives and swapping + with – and vice versa.

The tool is available for download here.