Skip to content

Custom Canvas class to draw basic shapes like line, rectangle, circle etc. on the console using ascii art.

Notifications You must be signed in to change notification settings

mouli-dutta/Canvas-Drawing-with-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Canvas

Custom Canvas class to draw basic shapes like line, rectangle, circle etc. on the console using ascii art.

Few examples:

--------------------------------
|                              |
|     xxxxxxxxxxxxxxxxxx       |
|     x                x       |
|  xxxx                x       |
|  x  x            xxxxxxxxx   |
|  x  x            x       x   |
|  x  x            x       x   |
|  x  x            x       x   |
|  x  x            xxxxxxxxx   |
|  x  x                x       |
|  xxxx                x       |
|     x                x       |
|     x     xxxxxx     x       |
|     x     x    x     x       |
|     x     x    x     x       |
|     x     x    x     x       |
|     xxxxxxx    xxxxxxx       |
|                              |
|                              |
|                              |
--------------------------------

----------------------------------
|                                |
|                                |
|                                |
|                                |
|        xxxxxxxxxxxxx           |
|       x           x x          |
|      x           x   x         |
|     x           x     x        |
|    x           x       x       |
|   x           x         x      |
|  xxxxxxxxxxxxx           x     |
|  x           x   xxxxx   x     |
|  x   xxxxx   x   x   x   x     |
|  x   x   x   x   x   x   x     |
|  x   xxxxx   x   x   x   x     |
|  x           x   x   x   x     |
|  xxxxxxxxxxxxxxxxxxxxxxxxx     |
|                                |
|                                |
|                                |
----------------------------------

--------------------------------------
|                                    |
|                                    |
|                                    |
|                                    |
|                                    |
|              xxxxx                 |
|            xxx   xxx               |
|           xx       xx              |
|           x   xx    x              |
|          xx    xx   xx             |
|          x      x    x             |
|      xxxxx     xx    xxxxx         |
|   xxxx      xxxxxxx      xxxx      |
|  xx        xx     xx        xx     |
|  x         x       x         x     |
|  xx        xx     xx        xx     |
|   xxxx      xxxxxxx      xxxx      |
|      xxxxx    xx     xxxxx         |
|          x    x      x x           |
|          xx   xx    xx x           |
|           x    xx   x  xx          |
|           xx       xx   x   x      |
|            xxx   xxx    x  xx      |
|              xxxxx      x xx       |
|                         xxx        |
|                         xx         |
|                         xx         |
|                         x          |
|                xxxx     x          |
|                   xxx   x          |
|                     xx  x          |
|                      xx x          |
|                        xx          |
|                        x           |
|                        x           |
|                xxxxxxxxxxxxxxxx    |
|                 x            x     |
|                  x          x      |
|                   x        x       |
|                    x      x        |
|                     xxxxxx         |
|                                    |
|                                    |
|                                    |
|                                    |
--------------------------------------

About

Custom Canvas class to draw basic shapes like line, rectangle, circle etc. on the console using ascii art.

Topics

Resources

Stars

Watchers

Forks

Languages