function plantarms (m1, m2, n, armwidth, trunkColor)
  
    theta = 130;
    eta = 40;
    A1 = [cosd(eta) -cosd(theta); sind(eta) -sind(theta)];
    A2 = [-sind(theta) cosd(theta); -sind(theta) cosd(theta)];
    newm = (m2-m1) /7;
    rotation1 = A1 * newm;
    rotation2 = A2 * newm;

    mm1 = m1 + (rotation1*.9);
    mm2 = m2 + (rotation2*.9)/2;

    if n >= 0
          
        
        % left branch
        line([m1(1) mm1(1)],[m1(2) mm1(2)], 'LineWidth', 4, 'Color', [.35 .6 .43]); 
        hold on
        pause
        % right branch
        line([m1(1) mm2(1)],[m1(2) mm2(2)], 'LineWidth', 2, 'Color', [.35 .6 .43]);
        hold on
        
        %add branches!(in colors)
        if mod(n,2) == 1;
            pinkarms(mm1,mm2, n-1, armwidth, trunkColor);
            redarms(mm2,mm1, n-1, armwidth, trunkColor);
        elseif mod(n,2) == 0;
            pinkarms(mm1,mm2, n-1, armwidth, trunkColor);
            plantarms(mm2,mm1, n-1, armwidth, trunkColor);
        end
       
    end

end