Write the function to graph in the answer zone then press enter. (trigonometric functions are in radian) [click] and drag to move around the graph [Mouse wheel] for zooming/dezooming [R] toggle reticle [O] go to the origin, double [O] reset to original scale [S] toggle scale (regular/radian) numbers [1 to 6] detail : 1=more detail and lag, 6=less detail and less lag. default value : 3 If you write "last", the graph will draw the last function drew by the last user. You can input multiple functions at one with "\" example : sinx\cosx Sample functions : - (exp(1/x)-1)/(exp(1/x)+1) (cool odd function) - sqrt(9-x^2)\-sqrt(9-x^2) (full circle) - |sinxmodcosx| (Sydney opera house?) - sin(x^x) (lets us visualize the limit of computers at calculating, from x≈143) (also credit: @Pixelpig_two) - (-1)^(floor(x/2))*(xmod2-1) (triangular signal) Supported symbols : x (the variable) all numbers (eg. 3, 0.04, -70) e (Euler's constant) pi, π (Archimedes' constant) phi, φ (the Golden Ratio) brackets ( ) absolute value | | (work as brackets) (same as abs( ) ) + - * / ^ (exponent eg. x^2, fractionnal powers are supported power as long as they are to the form 1/whole number) mod (modulo, eg. x mod 2) sqrt cbrt exp ln (base e) log (base 10) W, W0 (main branch of the Lambert W function) W-1 (negative branch of the Lambert W function) abs (same as | | ) sin cos tan asin acos atan sinh (hyperbolic trigonometric functions) cosh tanh asinh acosh atanh floor ceil (ceilling) ri (round) spaces are not taken in account (unless you put them in the middle of numbers or functions)
/!\ You need a minimum of mathematic knowledge to be able to use and understand this project. Changelog : 08-14-21 v2.2 : Multiple functions input feature, bugfixes and optimizations 07-07-21 v2.1 : Added absolute value of the form : | x | 06-15-21 v2.0 : Multiple functions support, bugfixes, detail control, Lambert W-1 function (negative branch) 05-21-21 v1.2 : Optimization, improved grid, Lambert W function support (main branch) 05-11-21 v1.1 : Bugfixes, optimization, go-to-origin, reticle and radian scale controls, "last" function feature (cloud) 03-07-21 v1.0 : release TurboWarp (lag free) : https://turbowarp.org/517104022/fullscreen Incoming features : -An easy to use interface -derivatives and integrals -sequences and recursive sequences -fancier displaying of functions Personal notes (if you don't mind reading) : I think it's the first of its kind on Scratch, maybe after the looking insane but broken 's "function graph plotter". ps: Shoutout to for his "Bad Desmos 1.1" that I just found, a very optimized function plotter, but with some imperfections. I took inspiration from his brilliant way of computing f(x) (ps2: I found out that it was called post-scripted writing). It supports almost every mathematical keywords and let the user write his own function. Desmos has been a great inspiration source for the look AND for verifying my work. First version done in about a week (thanks to the lockdown lol). Feedbacks or bug reports are welcomed as well as other sample funny/interesting functions, and I will gladly answer questions ;). Also, there's a nasty bug with non-continous functions that I have no idea how to patch -_- (yet?) I can't wait for animated text it would greatly improve this project. EDIT: next update will be when there will be animated text Also, I think gave me a lot of visibility since he faved this project early on, and I got much more views that I would have ever expected. If you read this, THX Mr. awesome llama !