Hydra LFO

Control utilities for Hydra visual synthesizer


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

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

sub - Subtract a value

sub(v)
sub({v})

Subtract a value from the current value, depending on use

Parameters

Returns

The previous value minus the subtracted value v.

Examples

shape(3).scrollY(-0.2).rotate(L.time().mod(10).sub(5).floor().rad(1/10)).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 » sub