File: Perlin3.html

package info (click to toggle)
supercollider-sc3-plugins 3.7.1~repack-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,332 kB
  • ctags: 11,704
  • sloc: cpp: 140,180; lisp: 14,746; ansic: 2,133; xml: 86; makefile: 82; haskell: 21; sh: 8
file content (36 lines) | stat: -rw-r--r-- 2,080 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="824.48">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Helvetica}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Helvetica; min-height: 16.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Helvetica}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
span.s1 {color: #000ebe}
span.Apple-tab-span {white-space:pre}
</style>
</head>
<body>
<p class="p1"><b>Perlin3<span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>3D Perlin Noise</b></p>
<p class="p2"><br></p>
<p class="p3"><b>Perlin3.ar(x, y, z)</b></p>
<p class="p3"><b>Perlin3.kr(x, y, z)</b></p>
<p class="p2"><br></p>
<p class="p3">Perlin noise is a type of gradient noise devised by Ken Perlin, and commonly used to add texture to objects rendered in computer graphics. It is deterministic: for a given input co-ordinate it always returns the same output value. To make audible noise you will typically need to define some trajectory through the co-ordinate space.</p>
<p class="p2"><br></p>
<p class="p3"><b>Examples</b></p>
<p class="p4"><br></p>
<p class="p5">s.boot</p>
<p class="p4"><br></p>
<p class="p5">{<span class="s1">Perlin3</span>.ar(<span class="s1">Integrator</span>.ar(<span class="s1">K2A</span>.ar(<span class="s1">MouseX</span>.kr(0, 0.1))),</p>
<p class="p5"><span class="s1"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Integrator</span>.ar(<span class="s1">K2A</span>.ar(<span class="s1">MouseY</span>.kr(0, 0.1))))}.play(s)</p>
<p class="p4"><br></p>
<p class="p5">{<span class="s1">Perlin3</span>.ar(*{<span class="s1">Line</span>.ar(0, 1000, 30)}.dup(3))}.plot(1)</p>
</body>
</html>