A 3-space orthogonal projection of a 2D surface that exists in 4 dimensions. Up and Down arrow keys change what is displayed, and the mouse enables rotation and zoom (left click to switch mode).
Real-valued functions only produce real-valued outputs. Complex-valued functions produce complex-valued outputs. This is a visualization using 3 of the 4 values to create a 3D object. It also rotates the dimensions. The code allows for the "x-squared" function to be swapped for something else.
Luminance denotes changes in the real-valued input. Hue denotes changes in the imaginary-valued input.