-
Notifications
You must be signed in to change notification settings - Fork 162
Graphics Folder with an implementation of DDA Line Algo in C #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphics Folder with an implementation of DDA Line Algo in C #151
Conversation
Created a separate graphics folder and added a code to implement the DDA Line Algorithm in making a Robo which has translations of points involved as all the points are relative by considering a base point around which the robo is drawn
@prateekiiest please do have a look at it |
show me the output first |
This is the picture of the output @prateekiiest |
This is a folder which contains graphics algorithms and their implementations. | ||
|
||
### Robo.c | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upload your output pic in the Readme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prateekiiest added the output pic to the README.md file :)
The robo.c program is a program which helps you in drawing a robot. | ||
The robot is drawn around a reference point. The DDA Line Algorithm was used in making the program. | ||
The DDA Line algorithm exists inside the program in a function so you can have a look at what the DDA line algorithm is, | ||
inside this program itself.<br><br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this br tag ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to shift the control to the next line. For appearance sake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't want everything to be in one para itself. looked too clumsy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can remove the tags if you want though @prateekiiest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, that's ok then.
I am merging this 😄
Thank you for your contribution. Please provide the details requested below.
ISSUE NUMBER
This is in reference to the conversation we had on Gitter.
SHORT DESCRIPTION
This is a program used to implement the DDA Line algorithms and translations in order to make a robot. The translations occur to points as the robot is made around the base point
TESTING
You just need to make sure you have the graphics.h library before you compile and run this.
If you already have the library, run the program and the outcome can be seen on the screen