Press the green flag and enter the information to get a curve! The larger the number you put in, the wider the curve. If you enter 'Y' in the next question, you will get a vertical curve, but if you enter 'X', you will get a horizontal curve. The function for the curve you created will be at the bottom of the screen. If you input a negative number, it will draw the mirror image of the line (for example, -20 X will be the mirror image of 20 X).
---------------------------CREDITS--------------------------- Everything made by me! No tutorials, just clever Maths! -----------------------HOW IT WORKS----------------------- The 'Function' sprite actually has nothing to do with the calculations, and is just a display. When you enter the information and press space, the 'Drawer' sprite starts calculating the curve. How it does this is that it will go to a random position, and will then apply the function at the bottom of the screen to its X and Y values. If it detects that it has begun to travel in a loop, it stamps itself and resets itself, going to another random position. Repeating this process results in a diagram where all the positions where the function is true are marked in black.