Skip to content

FridaWang/hw03-l-systems

 
 

Repository files navigation

Homework 4: L-systems

Renders

main3

main

Description

For this assignment, I used the L-system in Houdini to create a cherry tree based on the following reference. I also create a island-like terrian, a solid-color background and clouds.

reference

Scene components

scene_component

Drawing Rules

Premise: X
Rule 1: X = F(0.05)+(40)F(0.4)-(60)F-(10)FF[-(20)F(0.2)A]F-(5)[+(45)FB]F+(15)FC
Rule 2: A:t<8 = T~(1)"(0.9);F(0.05)[+FA]/(80)[+F(0.08)A]/(150)[+A]
Rule 3: B:t<9 = T~(8)"F;[+B]/(90)[+FB]/(160)[+FB]
Rule 4: C:t<9 = T~(10)"F;[+C]/(100)[+FC]/(180)[+FC]
Rule 5: A:t>8 = J
Rule 6: B:t>9 = J
Rule 7: C:t>9 = J

Generation Process

Generation = 1 Generation = 2
1 2
Generation = 6 Generation = 10
6 10

Leaves generation process

  1. Seperate the leaves from l-system

leaf_1

  1. Delete the geometry but keep the points

leaf_2

  1. Add a copytopoints node with a sphere as the geometry to copy

leaf_3

  1. Jitter the points by adding a pointjitter node

leaf_4

  1. Add another copytopoints node with a grid as the geometry to copy

leaf_5

  1. Set color

leaf_6

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 89.1%
  • GLSL 7.0%
  • JavaScript 2.3%
  • HTML 1.6%