From a9e98a5f3b35a4803db829813ac8082982f8c400 Mon Sep 17 00:00:00 2001 From: Rachel Lin Date: Mon, 11 Sep 2023 22:34:18 -0400 Subject: [PATCH] updated readme for submission --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 0e8b1422..1f8eae86 100644 --- a/README.md +++ b/README.md @@ -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/ + +