Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 1.63 KB

README.md

File metadata and controls

53 lines (44 loc) · 1.63 KB

GradientGeometry

It's crazy project for drawing figures in console. For drawing used Bresenham's algorithms.

Features

Figures

Examples

Triangle

Canvas canvas;
Triangle Triangle(1500, 100, 100, 1900, 2900, 1900);
canvas.FillFigure(Triangle);

Circle

Canvas canvas;
Circle Circle(1500, 1000, 900);
canvas.FillFigure(Circle);

Box

Canvas canvas;
Box Box(100, 100, 2900, 1900);
canvas.FillFigure(Box);

Line

Canvas canvas;
Line Line1(100, 100, 2900, 1900);
Line Line2(2900, 100, 100, 1900);
canvas.DrawFigure(Line1);
canvas.DrawFigure(Line2);

License📑

Copyright (c) SimpleStateMachine

Licensed under the MIT license.