From ae9f75118bdf6bff9be31b4f76bc882cd39a5e88 Mon Sep 17 00:00:00 2001 From: Joyce Chen <52928427+joycecheen@users.noreply.github.com> Date: Wed, 2 Oct 2024 22:34:22 -0400 Subject: [PATCH] Update README.md --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 91c9197..79cc3e1 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,40 @@ Let's practice using grammars! For this lab, please pull up the L-system node in ## 1. Wheat grammar puzzle Look at these iterations (n = 1, 2, 3) of a one-rule grammar. Using the built in symbols in Houdini, design a grammar that produces this output. Take a screenshot of your rules.\ +Screenshot 2024-10-02 at 9 16 46 PM\ square1 square2 square3 ## 2. Square grammar puzzle How about this one? Take a screenshot of your rules.\ +Screenshot 2024-10-02 at 9 18 31 PM\ square1 square2 square3 ## 3. Custom plant -Choose a plant in the world. Working off a reference, design a grammar that mimics the structure of that plant. Unlike our simple puzzles, please use multiple rules for greater complexity. Think carefully about the structure of your grammar! EXPLAIN the structure of your plant in the README. What are the components? What do each of the rules do? Be sure to also include images of a few iterations of your output plant. +Choose a plant in the world. Working off a reference, design a grammar that mimics the structure of that plant. Unlike our simple puzzles, please use multiple rules for greater complexity. Think carefully about the structure of your grammar! EXPLAIN the structure of your plant in the README. What are the components? What do each of the rules do? Be sure to also include images of a few iterations of your output plant.\ +## Baby's Breath Reference: +\ +I chose the flower baby's breath as my reference. The plants components can primarily be broken down into the main stem, left branches, right branches, and middle branches. And the symmetrical branching from each stem gets smaller and smaller. + +Screenshot 2024-10-02 at 10 09 20 PM +Screenshot 2024-10-02 at 10 09 39 PM +Screenshot 2024-10-02 at 10 09 54 PM\ + + +Screenshot 2024-10-02 at 10 08 56 PM\ + +Rules:\ +X=[-FX]F[+FX][FX] +- [-FX] creates a right branch by turning right, going forward, then recursively repeating +- F offsets the flower to the right by going forward +- [+FX] creates a left branch by turning left, going forward, then recursively repeating +- [FX] creates the middle branch straight from the main stem, and recursively repeating + +F=FF +- FF lengthens the stem each step every iteration, making it look like its growing ## Submission - Create a pull request against this repository