monomere
The top rectangle is the input field.
Equations are entered as a JavaScript expression, with the a single variable x.
For example:
x ** x + 3 - Math.sin(3 * x)If you begin with a bang (
!
), you can enter plain JavaScript.
In this case, the input is expected to be a function:!conditional([ x => - x - 7, x => x < -5 ], [ x => -2 * x ** 2 - 12 * x - 12, _ => true ]);You can also enter this for example:
!x => x * x
You can only use ES6 arrow functions, soArrows at the bottom change the scale.!x => x
is allowed, but!function myFunc(x) { return x; }
is not!