I don’t know if this has been done before, but i don’t think so since it is pretty niche. It lets you input the function, the start and the finish point, what the highest/lowest value displayed are, how many values are calculated per pixel, wether the imaginary part is displayed or not and if there should be a simulated “dead” row of pixels between the highest row of one, and the lowest row of the other LED matrix. it works by positioning both LED Matrices next to each other and treating them as one big Matrix. Here are some examples:
cos(x): (from -pi to pi)
1/x: (from -4 to 4 in x and y direction) :
sqrt(x) + sqrt(-x) (from -3 to 3, the imaginary part is on the top, the real part on the bottom):
(phi^x - (psi^x))/(phi-psi) (the explicit form of the fibonacci series, from 0 to 3, imaginary on top again):
(all ranges are in x direction if not stated otherwise)
It is programmed in python (sorry) and uses the time, math, tqdm, serial, sympy and numpy modules. I know that sympy shouldn’t be used for untrusted strings, but we aren’t dealing with those here.
I got my display-function from here and i am unsure if it works for windows as well, if it doesn’t you probably need to change port_right and port_left (line 25/26 in the code)



