This works similarly to a graphic calculator. I present to you, the Graphizer! Ahem. This is a fairly long list. -*.---- CLICKING After clicking or tapping the stage, the coordinates of your mouse pointer will be visible in the bottom left corner for a few seconds. They're affected by the current scale (more below, S key) and rounded to the nearest thousandth. You can click as many times as you want. -*.---- F KEY To type your function, press F. It will always follow PEDMAS, and for now parentheses don't work so... YOU CAN PUT: + for addition (1+9=10) - for subtraction (4-3=1) * for multiplication (7*5=35) / for division(8/4=2) ^ for exponents (6^2 = 36) ( ) for parentheses (currently WIP) _ for negative numbers (negative 3 = _3) DO NOT PUT: SPACES (they mess up the list) brackets for multiplication (I don't know how to code that...) Coefficients: if it's a full number, write it similarly to one of these. "3x" "x*3" or "3*x" with 3 as the example coefficient. if it's a fraction or decimal, write it similarly to one of these. "3x/4" or "x*3/4" with 3/4 as the example coefficient. -*.---- S KEY Pressing the S key can change the scale of the graph. This represents how much the project zooms into the origin. By default, the scale is 1, so the coordinates of the top-right corner are (240, 180). When the scale is 24, the coordinates of the top-right corner are (10, 7.5). *Changing the scale clears the grid.* at certain sizes, the grid may look a bit wonky, but that doesn't affect functions. -*.---- C KEY pretty self-explanatory. Clears the grid and resets the colors of the function lines. Also shows all of the functions you've typed since clicking on the green flag.
Might add soon: - cos, sin, tan - brackets/parentheses/what do you call these? - decimals - changing the position of the origin - music (probably my own song) All code by me. Thumbnail by me aswell. I didn't feel like making a game one day and I ended up starting this. Spent maybe half a month working on it pre-sharing.