Hydra LFO

Control utilities for Hydra visual synthesizer


Project maintained by oscons Hosted on GitHub Pages — Theme by mattgraham

Hydra LFO » Functions » floor «  source: src/components/maths.js

floor - Round down to the nearest number of digits

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.

Parameters

Returns

Rounded value

Examples

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


Hydra LFO » Functions » floor