Skip to content

Commit

Permalink
reword
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Nov 24, 2024
1 parent 8d69c84 commit 245a27b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hydra/how3.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ <h2>🌱 how hydra works III</h2>
Without going into detail of how these functions, work, we can assume that
vec2 is always a 2D position [x,y] and vec4 is always a color [r,g,b,a].
So in short, the vec2 functions are related to geometry, whereas the vec4
functions are related to color. To illustrate that, we can compare the
first 2 lines in our examples:
functions are related to color. Let's look again at the first lines in our
example:
</p>
<pre>
// our half baked syntax
Expand All @@ -114,8 +114,8 @@ <h2>🌱 how hydra works III</h2>
vec4 v5 = osc(v6, 10., 0.1, 0.);</pre
>
<p>
To morph the hydra version into our version, we can define these 2 rewrite
rules:
To morph the hydra version into our version, we can define these 2
(unscientific) rewrite rules:
</p>
<pre>
// with X = vec4 function and Y = vec2 function
Expand Down

0 comments on commit 245a27b

Please sign in to comment.