Control utilities for Hydra visual synthesizer
Hydra LFO » Functions » floor « source: src/components/maths.js
floor(d)
floor({d})
Rounds the current value down to the specified number of decimal places. This can be used to discretize continous valued functions.
d
: The number of digits after the decimal point to round down to.
Default is 0 which is effectively the nearest lower integer.Rounded value
shape(3).scrollY(L.range({u:10,s:0.5}).floor(1)).out(o0)
Other functions in Math related functions:
Other categories:
Asynchronous functions - General Hydra LFO utility functions - Generator functions - Math related functions - Modifier functions - Time functions -
All functions reference on one page