Skip to content

Commit

Permalink
Added colored triangle
Browse files Browse the repository at this point in the history
  • Loading branch information
noah-ku committed Feb 14, 2024
1 parent 22557dc commit e283d47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file added assets/images/hw1/task4-color-triangle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions homework1.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ a blue shirt and navy blue jeans.
Barycentric coordinates are useful when we need to interpolate values across a triangle. Here, barycentric coordinates tell us how much each vertex in the triangle contributes to the color of a point.

Here is a picture of 3 colors. At the vertex, we can see that in the middle, each point influences the color so that it gives a mix of those 3 colors.

*The 3-Colored Triangle:*
![Task 4 Color Triangle](./assets/images/hw1/task4-color-triangle.png)

*The Color Wheel:*
![Task 4 Color Wheel](./assets/images/hw1/task4-color-wheel.png)
<br>
Expand Down

0 comments on commit e283d47

Please sign in to comment.