The typical name for theconstrain(x, min, max)function in p5.js, used across the math and computing world, isclamp. E.g. seeOpenGL,Godot/Unity,C#,Java,CSS, andC++. In comparision, less popular names includeclip, used byNumpyandOctave/Mathematica/Wolphram, and, well,constrain, used byPr...