Skip to content

p5.strands tutorial: add list of p5.js variables available as uniforms#1166

Merged
ksen0 merged 1 commit intoprocessing:2.0from
nbogie:nb-add-new-uniforms-to-strands-tutorial
Feb 12, 2026
Merged

p5.strands tutorial: add list of p5.js variables available as uniforms#1166
ksen0 merged 1 commit intoprocessing:2.0from
nbogie:nb-add-new-uniforms-to-strands-tutorial

Conversation

@nbogie
Copy link
Contributor

@nbogie nbogie commented Feb 11, 2026

Changes:

Added a section listing the p5.js global variables that strands newly makes available as uniforms and linking to the main reference page for each.

Discussion:

I didn't find a great way to integrate this with the rest of the tutorial tasks yet. The existing section that has the reader set up a uniform to pass mouseX and mouseY is valuable, although the availability of the new variables undermine it as an example, slightly.

(Perhaps in future a task towards the end could be tweaked (or created) to make use of the mouseIsPressed boolean (especially if conditional logic needs special treatment)).

@ksen0 ksen0 merged commit bafdcd4 into processing:2.0 Feb 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants