wrap
The wrap
object functions as a float-capable modulo, constraining an input float value within specified limits. It can operate with no arguments (wrapping around 0), one argument (wrapping between 0 and the argument), or two arguments (wrapping between a lower and upper limit). The limits can also be set dynamically via its second inlet, with wrapping always inclusive of the lower limit and exclusive of the upper.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.