diff --git a/README.md b/README.md index 91c9197..dd806f1 100644 --- a/README.md +++ b/README.md @@ -2,20 +2,53 @@ Let's practice using grammars! For this lab, please pull up the L-system node in Houdini. ## 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.\ -square1 -square2 -square3 + +Rules: + +![image](https://github.com/wc41/lab03-grammars/assets/97757188/76443a92-1f9d-4a3e-9f0f-3b6989f377c7) + +1, 2, 3 iterations: + +![image](https://github.com/wc41/lab03-grammars/assets/97757188/53a591fe-25e6-4c7b-91a8-0b02e8b0380c) +![image](https://github.com/wc41/lab03-grammars/assets/97757188/d69ff915-d796-4994-ac72-e975c0c19210) +![image](https://github.com/wc41/lab03-grammars/assets/97757188/cb59fb5b-cad2-4c08-80b6-a7822b6314a8) + +(okay to be more accurate to the prompt replace the positives with negatives) ## 2. Square grammar puzzle -How about this one? Take a screenshot of your rules.\ -square1 -square2 -square3 + +Rules: + +![image](https://github.com/wc41/lab03-grammars/assets/97757188/dfec4abf-2b3b-4099-b6fc-bba2a68ac839) + +1, 2, 3 iterations: + +![image](https://github.com/wc41/lab03-grammars/assets/97757188/6faf8bf9-7ba9-4618-aebc-17f7764bd86f) +![image](https://github.com/wc41/lab03-grammars/assets/97757188/ecce8f7a-303c-4331-8a17-60b0fbb82645) +![image](https://github.com/wc41/lab03-grammars/assets/97757188/503ca316-5542-40bb-886d-aab0aab1eef6) + ## 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. + +![image](https://github.com/wc41/lab03-grammars/assets/97757188/0cc475c3-bdd0-4657-b99d-5a60b5cfd63a) + +![image](https://github.com/wc41/lab03-grammars/assets/97757188/1c7f5488-127f-4bc4-9302-60940f473cd8) + +Structure explanation: + +![image](https://github.com/wc41/lab03-grammars/assets/97757188/a7bca455-5852-4267-aa75-ec095c9507ce) + +![image](https://github.com/wc41/lab03-grammars/assets/97757188/bb62ddbc-1c5e-44a4-a598-9168688780fb) + +![image](https://github.com/wc41/lab03-grammars/assets/97757188/c8b76e93-e36a-418b-bf29-1066a47a3d09) + +- The tree is made up of stacks of a trunk, denoted with A, with 3 branches coming off it. +- Each branch, constructed by B, tapers and rotates upwards slightly. +- Some of these branches also contain C, which is a repeat of A except with only 1 iteration, causing more branching outward. +- The tree itself is tapered with a thick base that thins further upward. + ## Submission - Create a pull request against this repository - In your readme, list your solutions and format your README nicely