The settings are pretty self explanatory ;) But the mathematical background isn't really self explanatory... You need to know about complex numbers to understand the point of this project. You can zoom in and out with arrow keys. At the beginning the plot shows Re(f(x)) on z axis, the colors of the surface represent Im(f(x)). You can switch the plot mode to polar coordinates in the settings tab. Then, you'll have r=abs(f(x)) on z axis and the colors represent the angle phi=arg(f(x)). Please make sure you type in the function correctly. In most cases the project notices syntax errors and resets the function to f(x)=0. The project also resets the function if it's too long. I don't recommend to plot functions with definition gaps. Infinity and NaN are set to 0. Tips for typing in your own function: - pay attention to parentheses, e.g. x^2i is taken as (x^2)*i, not x^(2*i) - supported operators are +, -, *, / and ^ - supported functions are Re (real part), Im (imaginary part), conj (complex conjugation), sin, cos, tan, log, ln, exp, abs (absolute value function), sqrt (square root), cbrt (cubic root), root/rt (a. root of b [two arguments!]) - supported variables and constants are x, i, e and pi - this project uses radians instead of degrees - some operators or functions may not be 100% correct, since it's pretty complex
Music: Fluffing a Duck - Kevin MacLeod Thanks to @Kouzeru for the idea to make a plotter for complex functions! This project is a remix of my Plotting Surfaces project: https://scratch.mit.edu/projects/159936516/ For rendering the surfaces I used isometric projection. To calculate individual functions the project first transforms them into Reverse Polish Notation with the Shunting Yard Algorithm and then evaluates them. I kept the comments of the original project, since it's the same just that this version calculates with two variables (for a complex number z=x+yi). But if there are still questions left, you can ask me ;)