treegen tool

jin_xi
Member
 
Posts: 165
Joined: Mon Jul 02, 2012 18:19

treegen tool

by jin_xi » Sun Mar 03, 2013 18:30

this is a tool you can use to experiment with the l-system treegen.
it has two modes, they are switched with shift+left click.

https://github.com/obneq/treegen/archive/master.zip

use /giveme treegen:edit to get one. it does not wear off.

l-system editor

this mode allows you to edit tree definitions (right click) and spawn the resulting tree (left click).
Image
Image

axiom generator

this mode allows you to generate axioms using a simple forth like language, and spawn the resulting structure.
this is somewhat similar to turtle graphics and forth.
Image
Image
Last edited by jin_xi on Sun Mar 03, 2013 22:19, edited 1 time in total.
 

User avatar
Topywo
Member
 
Posts: 1720
Joined: Fri May 18, 2012 20:27

by Topywo » Sun Mar 03, 2013 19:10

Looks good. Still a bit difficult for me. Certainly a mod I'l try out one time. My first thought about your I-system editor was that it will make it easier to quickly try out new trees for a mod or for the treemod.
 

jin_xi
Member
 
Posts: 165
Joined: Mon Jul 02, 2012 18:19

by jin_xi » Tue Mar 05, 2013 23:15

Image

the program used to make this:

: c 60 0 DO [ G G G G G G G G G G T ] + LOOP ; : d 30 0 DO [ c ] / G LOOP ; d

enter this and hit run. set the angle to 6 degrees and press the angle button.
now spawn the axiom, fly up and spawn another...

have fun!
Last edited by jin_xi on Wed Jul 31, 2013 01:34, edited 1 time in total.
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 5 guests