Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
# lab06-proceduralFace

- https://www.shadertoy.com/view/WXjBWK

SURPRISE = 0:

<img width="649" height="375" alt="image" src="https://github.com/user-attachments/assets/3fa407bb-5eeb-4872-9070-30c8df37e955" />

SURPRISE = 0.5:

<img width="645" height="369" alt="image" src="https://github.com/user-attachments/assets/a1e0088a-abc4-4152-908b-83a40d513256" />\

SURPRISE = 1:

<img width="653" height="370" alt="image" src="https://github.com/user-attachments/assets/d7dd4a0d-5fae-484c-ab44-2234b1e42a7b" />

SURPRISE = 0.25, SLEEPINESS = 0.5:

<img width="653" height="369" alt="image" src="https://github.com/user-attachments/assets/5f38b6ef-9072-4738-8fea-2878d3e2f7bf" />

SURPRISE = 1, SLEEPINESS = 1:

<img width="653" height="376" alt="image" src="https://github.com/user-attachments/assets/f64ed330-6011-4bd4-bf56-46354a48fa68" />

SURPRISE = 1, SLEEPINESS = 0, SADNESS = 0.5:

<img width="646" height="370" alt="image" src="https://github.com/user-attachments/assets/545bcab1-0a87-4b48-ac37-2d14e0fba3ff" />

SURPRISE = 1, SLEEPINESS = 1, SADNESS = 1:

<img width="649" height="364" alt="image" src="https://github.com/user-attachments/assets/e23e2f1d-f634-4fd3-9389-50887a254a41" />

SURPRISE = 1, SLEEPINESS = 0, SADNESS = 1:

<img width="652" height="367" alt="image" src="https://github.com/user-attachments/assets/f937ddbf-3304-49c1-8e76-d07e742fd3f8" />

SURPRISE = 0.5, SLEEPINESS = 0, SADNESS = 1:

<img width="648" height="363" alt="image" src="https://github.com/user-attachments/assets/63aedca4-7184-4f29-843e-474b3bcf3b94" />


---

Let's practice parameterization! We'll be starting with an oh-so-beautiful gingerbread man face that looks like this:
![image](https://github.com/user-attachments/assets/4707eb0a-b25e-4eda-84e3-3bb336981781)

Expand All @@ -15,6 +56,7 @@ Changing this parameter should change at least 3 geometic attributes of the face
## Task 2
Your own parameter! Create a new attribute of your choice that maps to a procedural face characteristic in the domain of [0,1]. It SHOULD NOT be a literal attribute, eg. eye-separation or mouth size, but instead a more qualitative, subjective quality that you tie to specific geometic parameters using your design sense. Have fun!


## Extra Credit
In the faceSDF function, create a new float parameter called SADNESS. Follow the same guidelines as outlined in Task 1.

Expand Down