Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d6e0fb2
Experiment: flatter strands API
davepagurek Dec 2, 2025
9045761
Remove logging
davepagurek Dec 2, 2025
53712b5
Merge branch 'dev-2.0' into flat-strands
davepagurek Dec 23, 2025
9216e8e
Add create* and load* methods
davepagurek Dec 24, 2025
f175035
Update create/loadFilterShader docs
davepagurek Dec 25, 2025
d44c67c
Do material shaders too
davepagurek Dec 26, 2025
154cd4f
Add stroke shaders
davepagurek Dec 27, 2025
5d06815
Update FES typeS
davepagurek Dec 27, 2025
9a64b83
Update loadFilterShader reference
davepagurek Dec 27, 2025
e4044ff
Update load* methods to return the callback's value
davepagurek Dec 27, 2025
c8dab30
Correct some examples
davepagurek Dec 27, 2025
69dd14f
Merge branch 'dev-2.0' into flat-strands
davepagurek Dec 29, 2025
0c0fcb3
Fix typo in filter shader example
davepagurek Dec 29, 2025
d6dfddf
Add more explanation
davepagurek Dec 29, 2025
0123f2e
Fix angle brackets in inline examples
davepagurek Dec 29, 2025
d124dd6
Slightly update stroke shader example to look nicer
davepagurek Dec 29, 2025
5b950f3
Move more methods into the p5.strands submodule
davepagurek Dec 29, 2025
d9c0e43
Allow individual reference items to override the file's module/submodule
davepagurek Dec 29, 2025
1a9c333
Add missing await in example
davepagurek Dec 30, 2025
39051d2
Use syntax for callbacks
davepagurek Dec 30, 2025
c83f4a7
Fix missing beta tags
davepagurek Dec 30, 2025
9775510
Update shader() and createShader() docs
davepagurek Dec 30, 2025
967b14b
Fix typo
davepagurek Dec 30, 2025
c485f5c
Remove shouldDiscard for now, since it's private
davepagurek Dec 30, 2025
ecca5bd
Fix regex preventing loading from working
davepagurek Dec 30, 2025
6658719
Add visual tests for load*
davepagurek Dec 30, 2025
65de9c6
Run load* method shaders in global mode
davepagurek Dec 30, 2025
87c0eac
Allow .set() on hooks to return results
davepagurek Jan 1, 2026
e1817f4
Add manual hook aliases
davepagurek Jan 1, 2026
e428541
Let you still access struct properties when there are other non-struc…
davepagurek Jan 1, 2026
55e65ac
Update tests
davepagurek Jan 1, 2026
e4ed322
Update examples to use named functions
davepagurek Jan 4, 2026
7e5a966
Update reference to use the flat API
davepagurek Jan 4, 2026
e88e671
Fix typos in examples
davepagurek Jan 4, 2026
654c9cd
Add ts types for callback functions again
davepagurek Jan 4, 2026
d921d42
Fix denominator of normal material example
davepagurek Jan 4, 2026
5eb6fff
Merge branch 'dev-2.0' into flat-strands
davepagurek Jan 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 86 additions & 7 deletions docs/parameterData.json
Original file line number Diff line number Diff line change
Expand Up @@ -2033,13 +2033,6 @@
]
]
},
"combineColors": {
"overloads": [
[
"Function"
]
]
},
"getPixelInputs": {
"overloads": [
[
Expand Down Expand Up @@ -2885,6 +2878,16 @@
]
]
},
"buildFilterShader": {
"overloads": [
[
"Function"
],
[
"Object"
]
]
},
"createFilterShader": {
"overloads": [
[
Expand Down Expand Up @@ -2913,6 +2916,25 @@
]
]
},
"buildMaterialShader": {
"overloads": [
[
"Function"
],
[
"Object"
]
]
},
"loadMaterialShader": {
"overloads": [
[
"String",
"Function?",
"Function?"
]
]
},
"baseMaterialShader": {
"overloads": [
[]
Expand All @@ -2923,16 +2945,73 @@
[]
]
},
"buildNormalShader": {
"overloads": [
[
"Function"
],
[
"Object"
]
]
},
"loadNormalShader": {
"overloads": [
[
"String",
"Function?",
"Function?"
]
]
},
"baseNormalShader": {
"overloads": [
[]
]
},
"buildColorShader": {
"overloads": [
[
"Function"
],
[
"Object"
]
]
},
"loadColorShader": {
"overloads": [
[
"String",
"Function?",
"Function?"
]
]
},
"baseColorShader": {
"overloads": [
[]
]
},
"buildStrokeShader": {
"overloads": [
[
"Function"
],
[
"Object"
]
]
},
"loadStrokeShader": {
"overloads": [
[
"String",
"Function?",
"Function?"
]
]
},
"baseStrokeShader": {
"overloads": [
[]
Expand Down
Loading
Loading