Document signals

This commit is contained in:
Alexandre Gravel-Raymond 2024-03-24 12:22:26 +01:00
parent 33f4f5fccc
commit 69211b8701
2 changed files with 84 additions and 4 deletions

View file

@ -31,14 +31,14 @@ They can provide streams of numbers that can be sampled at discrete points in ti
<JsDoc client:idle name="square" h={0} />
## Ranges from -1 to 1
There is also `saw2`, `sine2`, `cosine2`, `tri2` and `square2` which have a range from -1 to 1!
## rand
<JsDoc client:idle name="rand" h={0} />
## Ranges from -1 to 1
There is also `saw2`, `sine2`, `cosine2`, `tri2`, `square2` and `rand2` which have a range from -1 to 1!
## perlin
<JsDoc client:idle name="perlin" h={0} />
@ -47,14 +47,34 @@ There is also `saw2`, `sine2`, `cosine2`, `tri2` and `square2` which have a rang
<JsDoc client:idle name="irand" h={0} />
## brand
<JsDoc client:idle name="brand" h={0} />
## brandBy
<JsDoc client:idle name="brandBy" h={0} />
# Random Modifiers
These methods add random behavior to your Patterns.
## choose
<JsDoc client:idle name="choose" h={0} />
## wchoose
<JsDoc client:idle name="wchoose" h={0} />
## chooseCycles
<JsDoc client:idle name="chooseCycles" h={0} />
## wchooseCycles
<JsDoc client:idle name="wchooseCycles" h={0} />
## degradeBy
<JsDoc client:idle name="Pattern.degradeBy" h={0} />
@ -67,6 +87,10 @@ These methods add random behavior to your Patterns.
<JsDoc client:idle name="Pattern.undegradeBy" h={0} />
## undegrade
<JsDoc client:idle name="Pattern.undegrade" h={0} />
## sometimesBy
<JsDoc client:idle name="Pattern.sometimesBy" h={0} />