Skip to content

ccLLy1n/peeyan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphic Printer

A cool graphic printer for our first teamwork project.

Table of Contents

Installation

Clone the repository

$ git clone git@github.com:ccLLy1n/peeyan.git
#or 
$ git clone https://github.com/ccLLy1n/peeyan.git

Usage

Options:
    -t       Create a triangle, enter the side parameter.

    -r       Create a rectangle, enter the length and width parameter.

    -s       Create a star, enter the side parameter.

    -c       Create a circle, enter the radius parameter.

    -h       Create a trapaziod, enter the topline and height.

    -exit    Stop creating graphs, stack and align all the graphs.

Examples

Create_componemt
------------------
t是三角形,r是矩形,s是星形,c是圓形,h是梯形,最後輸入exit進入下一階段
請輸入想要的形狀:t
請輸入三角形高度(層數):5
這個三角形編號是t1
請輸入想要的形狀:r
請輸入矩形Y軸邊長:3
請輸入矩形X軸邊長:7
這個矩形編號是r1
請輸入想要的形狀:s
請輸入星形邊長:7
這個星形編號是s1
請輸入想要的形狀:c
請輸入圓形直徑:13
這個圓形編號是c1
請輸入想要的形狀:h
請輸入梯形高:4
請輸入梯形上邊長:6
這個梯形編號是h1
請輸入想要的形狀:exit
進入下一階段

Draw_graphic
------------------
          *
         ***
        *****
       *******
      *********
     ***********
       *******
       *******
       *******
             *            
            * *           
           *   *          
          *     *         
         *       *        
        *         *       
 *******           *******
  *                     *
   *                   *
    *                 *
     *               *
      *             *
       *  *******  *
      *  *       *  *
     *  *         *  *
    *  *           *  *
   *  *             *  *
  *  *               *  *
   **                 **
         *****    
        *     *   
       *       *  
      *         * 
     *           *
     *           *
     *           *
     *           *
     *           *
      *         * 
       *       *  
        *     *   
         *****    
        ******
       ********
      **********
     ************

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages