Skip to content

Commit

Permalink
docs: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
munshkr committed Dec 30, 2024
1 parent 99bce8d commit c8054a3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ the official Hydra editor.
##### `fft()` function

The `fft()` function is a special function that allows you to get the FFT data
from web targets. Note: Only Strudel is supported at the moment.
from web targets.

**Note: Only Strudel is supported at the moment.**

```ts
fft(index: number,
Expand All @@ -253,9 +255,10 @@ Parameters:

Example:
```js
solid(() => fft(0,1), 0)
solid(() => fft(0,1), 0)
.mask(shape(5,.05))
.rotate(() => 50 * fft(0, 40)) // we need to supply a function for the parameter, for it to update automaticaly
.rotate(() => 50 * fft(0, 40)) // we need to supply a function
// for the parameter, for it to update automaticaly.
```

**Caveat**: Because of how we setup the analyze node on Strudel, every Strudel pane
Expand Down

0 comments on commit c8054a3

Please sign in to comment.