Branch Assignment

From CSE425S Wiki
Jump to navigation Jump to search

Lindenmayer system

Dragon trees.jpg


Code to Implement

Turtle

OpenGLStackUtils

class OpenGLStackUtils
  def self.push_do_pop
    raise :not_yet_implemented
  end
end<nowiki>

==Branch==
 <nowiki>class Branch
  def branch(length, line_width_in_pixels, depth_remaining)
    raise :not_yet_implemented
  end
end
Branch MaxDepth0.png Branch MaxDepth1.png Branch MaxDepth2.png Branch MaxDepth3.png [[File:Branch_MaxDepth4.png] Branch MaxDepth5.png
max_depth: 0 max_depth: 1 max_depth: 2 max_depth: 3 max_depth: 4 max_depth: 5