Skip to content

Commit 307e7a9

Browse files
committed
strands tut: minor. introduce next code example.
1 parent 8825738 commit 307e7a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/tutorials/en/intro-to-p5-strands.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,9 @@ For step 2, perhaps it is helpful to _imagine_ the following code being run each
624624
```js
625625
bloomShader.setUniform("ogImage", getOriginalImage())
626626
```
627-
(You shouldn't write the above code - something like it is written and run for you, behind the scenes).
627+
(You shouldn't _write_ the above code - something like it is written and run for you, behind the scenes).
628+
629+
Here's our `bloomCallback` function with this original canvas image being received by the shader and sampled from:
628630

629631
```js
630632
function getOriginalImage(){

0 commit comments

Comments
 (0)