Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "glsl-rfft", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "GLSL setup for performing a Fast Fourier Transform of real-valued input", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -59,3 +59,3 @@ # glsl-rfft | ||
#pragma glslify: fft = require(glsl-rfft) | ||
#pragma glslify: fft = require(glsl-rfft/fft) | ||
@@ -72,3 +72,3 @@ uniform sampler2D src; | ||
See [test/test.js][test/test.js] for a fully worked forward and inverse transform using [regl][regl]. | ||
See [test/test.js](test/test.js) for a fully worked forward and inverse transform using [regl][regl]. | ||
@@ -93,3 +93,3 @@ ## Usage | ||
As far as fast Fourier transforms go, it's not particularly optimized, though it's much faster than transferring data to and from the GPU each time you need to compute a Fourier transform. | ||
As far as FFTs go, it's not great, in particular since it makes quite a few calls to `sin` and `cos` and requires `log2(M) + log2(N) + 2` passes for `M x N` input. Though it's much faster than transferring data to and from the GPU each time you need to compute a Fourier transform. | ||
@@ -96,0 +96,0 @@ ## JavaScript API |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
17890
1