Week03 Homework

unknown-1 unknown unknown-2

Gradient #1 Code

gradient02

Gradient #2 Code

Hi! I’ve experimented with the rectangle outline code for this week’s homework for gradient 1. Use borders to create the overall outline with rectangles, and use mix() to create the gradient color look. I also tried the displacement of two rectangles to create different looks (as shown).

For the second gradient, I edit the example from the book of shaders and play around with the color and scales [5*5, using tile()]. I also applied the u_time uniform variable to make it rotate over time [using rotate2D()].

Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *