Git Product home page Git Product logo

hw03-l-systems's Introduction

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

hw03-l-systems's People

Contributors

fridawang avatar imyself avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.