perihanmirkelam / FractalFactory

A command line tool to draw geometrical shapes on svg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FractalFactory

A command line tool to draw geometrical shapes on svg.

Usage

Locate the project folder and run the command

make

Run the command to execute created binary

./run

Example usage


***Welcome to the Fractal Factory***

Enter width of your figure(decimal):
200.0

Enter height of your figure(decimal):
200.0

Enter thickness(decimal):
1.0

Enter resolution(decimal):
3.0

Enter red, blue and green value of your color(integer integer integer):
1 200 200

Select your choice:
1) Draw function f(x) = x^3
2) Draw circle
3) Draw ellipse
4) Exit

Choice:1


Enter domain of the function [decimal,decimal]:-5 5
f: [-5,5] -> [0,0] (INTERVAL: 3 - Line Count: 3)

Exported your figure on linked.svg file.

About

A command line tool to draw geometrical shapes on svg

License:Apache License 2.0


Languages

Language:C 98.7%Language:Makefile 1.3%