File: noise.md

package info (click to toggle)
python-pyglm 2.8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,008 kB
  • sloc: cpp: 53,029; python: 3,683; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 942 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[//]: # (generated using SlashBack 0.2.0)

  
# noise methods  
The following methods are all part of the **noise methods**\.  
Defines 2D, 3D and 4D procedural noise functions Based on the work of Stefan Gustavson and Ashima Arts on "webgl\-noise": https://github.com/ashima/webgl-noise Following Stefan Gustavson's paper "Simplex noise demystified": http://www.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf  
## Table of contents  
  
* [**perlin** function](#perlin-function)  
* [**simplex** function](#simplex-function)  
  
### perlin\(\) function  
#### <code>glm.<code>**perlin**(**p**: *vecN*) -\> *float*</code></code>  
&emsp;&emsp;Classic perlin noise\.  
  
#### <code>glm.<code>**perlin**(**p**: *vecN*, **rep**: *vecN*) -\> *float*</code></code>  
&emsp;&emsp;Periodic perlin noise\.  
  
### simplex\(\) function  
#### <code>glm.<code>**simplex**(**p**: *vecN*) -\> *float*</code></code>  
&emsp;&emsp;Simplex noise\.