Skip to content

RomanSoloweow/GradientGeometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages