Difference between revisions of "Branch Assignment"

From CSE425S Wiki
Jump to navigation Jump to search
(Created page with "[https://en.wikipedia.org/wiki/L-system Lindenmayer system] thumb =Code to Implement= ==Branch== <nowiki>(define (branch length iter) (raise 'no...")
 
Line 5: Line 5:
 
=Code to Implement=
 
=Code to Implement=
 
==Branch==
 
==Branch==
  <nowiki>(define (branch length iter)
+
  <nowiki>class Branch
   (raise 'not-yet-implemented #t))</nowiki>
+
   def render
 +
  end
 +
end</nowiki>
  
 
{| class="wikitable" style="text-align: center; "
 
{| class="wikitable" style="text-align: center; "

Revision as of 08:51, 17 November 2020

Lindenmayer system

Dragon trees.jpg


Code to Implement

Branch

class Branch
  def render
  end
end
Branch 0.svg Branch 1.svg Branch 2.svg Branch 3.svg Branch 4.svg Branch 5.svg Branch 6.svg Branch 7.svg
iter=0 iter=1 iter=2 iter=3 iter=4 iter=5 iter=6 iter=7