title: how to draw a 2d Tree
body: <p>Can anyone help me figure out how to make a 2d graphic tree? This is all I have so far. I have no clue what I am doing:/ Can someone teach me how to..please? &amp; thank you!</p>
  
  <p><a href="https://i.stack.imgur.com/kNvA0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kNvA0.jpg" alt="enter image description here"></a></p>
  
  <pre><code>import java.awt.Color;
  import java.awt.Canvas;
  import java.awt.Graphics;
  import java.awt.Polygon;
  
  public class Tree extends Canvas {
  
      public Tree() {
  
          350 200 100 350    
          249 0 249           
      }
  }
  </code></pre>