Skip to content

Commit

Permalink
updated readme for submission
Browse files Browse the repository at this point in the history
  • Loading branch information
RachelDLin committed Sep 12, 2023
1 parent 4fdc52d commit a9e98a5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,11 @@ To check if everything is on the right track:
- Constants https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants

## Rachel Lin's Submission

On the fragment shader, I used offsets of fractal brownian motion based on the xyz position to set the rgb values. I then used the mix function to interpolate between the calculated color and the color set by the user.

For animation purposes, I added a uniform variable to represent the time passed. In my vertex shader, I had three different sinusoidal functions as a function of time. I multiplied and added the xyz coordinates of the position by the values of each of these functions.

live demo link: https://racheldlin.github.io/hw00-intro-base/


0 comments on commit a9e98a5

Please sign in to comment.