leaf venation patterns simulation in javascript