fun little test inspired by online graphing calculators like Desmos: https://www.desmos.com/graphing shared out of boredom remixing STRONGLY encouraged! yall can do better than me... i hope WARNING! due to scratch's limitations, (A.) not every kind of function can be graphed on scratch (B.) graphing things here on scratch is VERY SLOW! its going to take a VERY long time (especially for quadratic functions)... hence turbo mode (or turbowarp for that matter) are VERY heavily recommended! (C.) values may not be 1000% accurate... (assume y = f(x - 1) because i messed up the code LOL) bounds for the graph are: -240 <= x <= 240 -2139 <= y <= 2139 ("actual value" function displays value if value of function goes beyond these bounds) currently supports: - linear functions (m(x - b) + a form) - x^2 quadratics (m(x - b)^2 + cx + a form) - x^3 quadratics (m(x - b)^3 + cx + a form) - e^x exponential functions - 10^x exponential functions - basic sinusoidal/trigonometric functions (sine, cosine, tangent) working on: - advanced sinusoidal/trigonometric functions (inverse trig functions, secant, cosecant, cotangent); this has been attempted but ultimately failed - logarithmic functions (both base e and 10 (ln, log)) - 1/x form functions what scratch CAN'T support - derivatives/integrals/most calculus nonsensery - multiple variables (and by effect, multivariable calculus) - limits (again, no calculus = no l'hospital's rule = no cheating on limits and finding them the ez way) - imaginary numbers - square roots (negative exponents) - exponentials with bases other than e or 10 - logarithmic functions with bases other than e or 10 these efforts were SIGNIFICANTLY hampered by scratch's own limitations: graphing is going to be extremely slow small changelog thing: 27.11.25 - i broke it! oops... in my fruitless attempt to optomise it, i accidentally broke it, fixing it now 20.12.25 - i tried to add the "real" value of the function in but scratch evidently did not like that, trying to fix that (scratch also just tends to behave oddly with variables) (note 21.12.25 - it appears to have been fixed)