Skip to content

Commit

Permalink
🌐 Presentation for Algo Pattern Salon
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Sep 22, 2023
1 parent ed56e3b commit 7afe204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/content/alpaca/Alpaca.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ In Coollab, users don't need to write code (although advanced users can), they c

Let's take the example of a grid of disks:
![](./grid_of_disks.png)
The way to do this using a shader is to first write a function that draws a disk, and then modify it's input to make it tile over space by using the `fract` function (cf. https://youtu.be/svLzmFuSBhk?t=235, where `mod(x, 1)` is equivalent to `fract(x)`).
The way to do this using a shader is to first write a function that draws a disk, and then modify its input to make it tile over space by using the `fract` function (cf. https://youtu.be/svLzmFuSBhk?t=235, where `mod(x, 1)` is equivalent to `fract(x)`).

So a data-oriented workflow like we can find in Blender's Shader Nodes or Unity's Shader Graph would look like this: we first get the position (UV), then modify it with a Grid node, then pass it to the Disk node.

Expand Down

0 comments on commit 7afe204

Please sign in to comment.