created configurable triangle drawing methods