📄️ Math in Bitbybit
An overview of the Math class in Bitbybit, providing tools for common mathematical operations, number generation, and easing functions.
The arithmetic, trigonometry and number utilities behind every parametric model in Bitbybit. Parametric design is arithmetic applied to geometry: remapping a slider's range onto a real dimension, driving a spiral with sine and cosine, rounding a value to a manufacturable step, or clamping user input into a range your model can actually build. These pages cover the basic operators, trigonometric functions, rounding and clamping, random numbers, and the interpolation helpers used to blend between two values. Each example is shown in Rete, Blockly and TypeScript.
An overview of the Math class in Bitbybit, providing tools for common mathematical operations, number generation, and easing functions.