| Property | Description |
|---|---|
|
Specifies a number that represents the last value of the signal. Note: The signal value is updated during simulation tick. This means that the value of |
| Method | Description |
|---|---|
|
Returns a signal with the value that is the absolute value of the given signal. See Also: |
|
Returns a signal with the value that is the sum of the values of the given signals. Note: See Also: |
|
Returns a signal with the value that is the angle in radians between the x-axis and the ray from (0, 0) to (x, y) where x and y are the values of the specified signals. The range is -PI to +PI. See Also: |
|
Returns a signal with the value that is the smallest integer that is greater than or equal to the value of the given signal. See Also: |
|
Delays a variable signal. The argument is an object with a "milliseconds" property specifying the delay duration in milliseconds. |
|
Returns a signal with the value that is the value of the first signal divided by the value of the second signal. See Also: |
|
Returns a Boolean signal that takes the value of Note: the scalar values are tested for exact equality. For some applications it might be reasonable to perform a non-strict comparison allowing the values to be within a small distance one from another. See Also: |
|
Smoothes a variable signal using exponential averaging over time. The argument specifies the dampening time constant in milliseconds. Note: See also |
|
Returns a signal with the value that is the largest integer that is less than or equal to the value of the given signal. See Also: |
|
Converts a Note: See Also: |
|
Returns a Boolean signal that takes the value of See Also: |
|
Returns a Boolean signal that takes the value of See Also: |
|
Returns an The emitted event (the argument passed to the callback function) has the value of corresponding Note: The threshold must be a positive number. Note: See Also: |
|
Returns a Boolean signal that takes the value of See Also: |
|
Returns a Boolean signal that takes the value of See Also: |
|
Returns a signal with the value that is the floating-point remainder of the division of the value of the first signal by the value of the second signal. See Also: |
|
Returns an
Note: By default, there is no event fired for the initial value of the signal. If |
|
Returns a signal with the value that is the product of the values of the given signals. See Also: |
|
Returns an The emitted event (the argument passed to the callback function) has the value of Note: The initial value of the signal is assumed to be 0.0. See Also: |
|
Returns a Boolean signal that takes the value of Note: the scalar values are tested for exact equality. For some applications it might be reasonable to perform a non-strict comparison allowing the values to be within a small distance one from another. See Also: |
|
Returns a signal with the negated value of the given signal. See Also: |
|
Returns a |
|
Returns a signal with the value that is the base signal raised to the power of the exponent signal. Raising a negative base to the power of a fractional exponent produce a NaN. Raising 0 to the power of a negative exponent will produce positive infinity. Raising 0 to the power of any positive exponent will produce 0. Raising -1 to the power of a positive or negative infinity exponent will produce 1. Raising 1 to the power of any exponent, including NaN, will produce 1. Raising any base, including NaN, to the power of 0 will produce 1. Raising any base to the power of negative infinity, where |base| < 1, will produce positive infinity. Raising any base to the power of negative infinity, where |base| > 1, will produce 0. Raising any base to the power of positive infinity, where |base| < 1, will produce 0. Raising any base to the power of positive infinity, where |base| > 1, will produce positive infinity. Raising negative infinity to the power of a negative exponent will produce 0. Raising negative infinity to the power of a positive exponent will produce positive infinity. Raising positive infinity to the power of a negative exponent will produce 0. Raising positive infinity to the power of a positive exponent will produce positive infinity. In all other cases, if either the base or the exponent is a NaN, a NaN will be produced. See Also: |
|
Returns a signal with the value that is the rounded value of the given signal. Note: When the fractional part is 0.5, it rounds the number away from zero, which is at odds with JavaScript standard behavior of rounding it always up in such cases. Therefore, this function is NOT exactly the reactive counterpart of the standard JavaScript See Also: |
|
Returns a Boolean signal that is Note: The initialValue is assumed to be |
|
Returns a signal with the value that is the sign of the given signal. Possible sign values: NaN, -0.0, 0.0, -1.0, 1.0. Note: this function is the reactive counterpart of the standard JavaScript See Also: |
|
Returns a signal with the value that is the square root of the value of the given signal. See Also: |
|
Returns a signal with the value that is the difference of the values of the given signals. See Also: |
|
Returns a signal with the value that is the sum of the values of the given signals. Note: See Also: |
|
Converts a Note: |
|
Returns an The emitted event (the argument passed to the callback function) has the value of Note: for positive thresholds, See Also: |