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 c206ef2 commit 39af20eCopy full SHA for 39af20e
contributor_docs/p5.strands.md
@@ -40,7 +40,7 @@ baseMaterialShader().modify(() => {
40
baseMaterialShader().modify(() => {
41
const t = uniformFloat('t', () => millis())
42
getWorldInputs((inputs) => {
43
- inputs.position = inputs.position.add(dynamicNode([20, 25, 20]).mult(sin(inputs.position.y.mult(0.05).add(dynamicNode(t).mult(0.004)))))
+ inputs.position = inputs.position.add(strandsNode([20, 25, 20]).mult(sin(inputs.position.y.mult(0.05).add(strandsNode(t).mult(0.004)))))
44
return inputs
45
})
46
0 commit comments