Skip to content

Lab03: Chang Liu & Tianyi Xiao #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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,3 +1,45 @@
## Name
Chang Liu & Tianyi Xiao

## Rules & Images
### 1. Wheat grammar puzzle
#### rules
`F=FF[+FF]F[+FF]FF+`

(angle = 20 degrees)
#### iteration = 3
![](lsystem_1.png)
#### iteraton = 4
![](lsystem_1_4.png)

### 2. Square grammar puzzle
#### rules
`F=F-F+F+F-F`

(angle = 90 degrees)

![](lsystem_2_rules.png)
#### iteration = 3
![](lsystem_2.png)
#### iteraton = 4
![](lsystem_2_4.png)

### 3. Custom Plant
#### rules
Premise: `AF`

Rule 1: `A = [\+F[\+F]/-F][/-F[/-F][\+F]]`

Rule 2: `F = FAF`

![](lsystem_3_rules.png)
#### designs explain
For our L-System grammar, first of all, I design the first rule to make the branch of our tree grow into two sub-branch in symmetry directions, and then each has its own sub-sub-branches.
Then, the second rule makes sure that the whole tree can grow into left, right, and straight directions, with different scales.

### results
![](lsystem_3.png)

# lab03-grammars
Let's practice using grammars! For this lab, please pull up the L-system node in Houdini.

Expand Down
Binary file added lsystem_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lsystem_1_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lsystem_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lsystem_2_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lsystem_2_rules.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lsystem_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lsystem_3_rules.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.