We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79d2fe2 commit 197a765Copy full SHA for 197a765
test/unit/visual/cases/noise.js
@@ -19,7 +19,7 @@ visualSuite('Noise', function() {
19
p5.createCanvas(50, 50, p5.WEBGL);
20
const shader = p5.baseFilterShader().modify(() => {
21
p5.getColor((inputs) => {
22
- const value = p5.clamp(p5.noise(inputs.texCoord * 4) * 2, 0, 1);
+ const value = p5.clamp(p5.noise(inputs.texCoord * 0.5 + 0.5) * 2, 0, 1);
23
return [value, value, value, 1];
24
});
25
}, { p5 });
test/unit/visual/screenshots/Noise/Drawn in a shader/000.png
-1.35 KB
0 commit comments