Giter Club home page Giter Club logo

treegen's Introduction

TreeGen

Interactive tree growth model with environment sensitivity

Owner: Damith Jinasena

Email: [email protected]

Description

I designed this model based on the DBM model which simulates the propagation of a lightning discharge. In this model I used Honda model to generate the binary tree geometry and random growth of branches was modeled using Monte-Carlo method where it was possible to simulate the biasing of branches with the resource availability. First version of this algorithm was presented in SIGGRAPH Asia 2012 posters

For my Mphil research I combined binary tree growth algorithm with DBM and created a new growth model which simulates the growth of a tree with environment interactions which allows a tree to adapt to the distribution of light and proximity to solid obstacles it its growth cycle. This program generates POV-Ray file for each step of the tree growth so by rendering the generated POV file sequence, tree growth can be modeled step by step

How to generate trees

  • conf\initialize-params.cfg -this file has all the parameters you can control with the program. You can define the grid size (environment), Light Source configurations, Obstacle configurations, basic branch properties etc…
  • Run the Release\laplace_3d_sth_3_rand.exe
  • file will generate in the output folder with the addition of each branch to the tree.

I know this program is too buggy and need so much developments. But as a prototype it works great for my research scope and gives considerably good results. I really appreciate your comments and feedback for further improvements of this project.

Have a nice time!

DSJ

treegen's People

Contributors

damithsj avatar

Stargazers

Tomáš Hudziec avatar  avatar

Watchers

 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.