/Patterns

Welcome to Patterns Repository, here you can add many different star ( * ) patterns. Contribution to this project is always welcome. Raise a PR and Boom your pattern will be added in this repo.🎉🥳. Share with your friends and Add awesome * Patterns.

Primary LanguageJava

Patterns

1.Right Triangle


 *
 * *
 * * *
 * * * *
 * * * * *
 * * * * * *

2.Left Triangle

             * 
           * * 
         * * * 
       * * * * 
     * * * * * 
   * * * * * * 

3.Hill Pattern Triangle

             *  *
           * *  * *
         * * *  * * *
       * * * *  * * * *
     * * * * *  * * * * *
   * * * * * *  * * * * * *

4.Pyramid Pattern

    *
   ***
  *****
 *******
*********

5.Reverse Pyramid Pattern

       * * * * * 
        * * * * 
         * * * 
          * * 
           * 

6.Diamond Pattern

    *
   ***
  *****
 *******
*********
 *******
  *****
   ***
    *

7.Square Pattern

* * * * * * 
* * * * * * 
* * * * * * 
* * * * * * 
* * * * * * 
* * * * * * 

8.Rectangle pattern

******
******
******
******
******
******

9.Decreasing Left Triangle Pattern

   * * * * *
     * * * *
       * * *
         * *
           *

9.Decreasing Right Triangle Pattern

* * * * * 
* * * * 
* * * 
* * 
*

10.Right Pascles Triangle

 *
 * *
 * * *
 * * * *
 * * * * *
 * * * *
 * * *
 * *
 *

11.Left Pascles Triangle

    *
   **
  ***
 ****
*****
 ****
  ***
   **
    *
     

12 Sandglass Star Pattern

  * * * * *
   * * * *
    * * *
     * *
      *
      *
     * *
    * * *
   * * * *
  * * * * *

13.Alphabet Star Pattern

     ****
     *   *
     *   *
     *   *
     *****
     *   *
     *   *
     *   *
     *   *

14.Triangle Star Pattern

           *
          * *
         *   *
        *     *
       *       *
      *         *
     *           *
    *             *
   *****************

15.Hollow Diamond Pattern

* * * * *  * * * * *
* * * *      * * * *
* * *          * * *
* *              * *
*                  *
*                  *
* *              * *
* * *          * * *
* * * *      * * * *
* * * * *  * * * * *

16.Christmas Tree Pattern

      *
     ***
    *****
   *******
  *********
 ***********
*************
      *
      *
      *
  1. Box Star Pattern
* * * * * * 
*         * 
*         * 
*         * 
*         * 
* * * * * *