TheAlgorithms / C

Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.
https://thealgorithms.github.io/C
GNU General Public License v3.0
19.2k stars 4.37k forks source link

Inclusion of Line Drawing Algorithms #1371

Closed Ashna26-Mittal closed 9 months ago

Ashna26-Mittal commented 11 months ago

Detailed description

I propose the incorporation of fundamental line drawing algorithms into your project, providing programmers with efficient and easily implementable solutions for common graphical tasks. This addition aims to enhance the project's utility and accessibility, especially for developers seeking reliable and versatile line-drawing tools in the C language.

Context

Line drawing is a fundamental element in graphics programming, and offering a comprehensive set of line drawing algorithms directly within your project aligns with the project's goal of providing practical, ready-to-use implementations. This feature will empower programmers by eliminating the need to write custom code for basic line drawing, thus saving time and promoting code readability. Whether for educational purposes or real-world applications, having a standardized set of line drawing algorithms is invaluable, fostering a more user-friendly experience for contributors and users alike.

Possible implementation

The implementation can include well-documented, modular functions for popular line drawing algorithms such as Bresenham's Line Algorithm and DDA (Digital Differential Analyzer). Each algorithm should be optimized for simplicity and performance while maintaining clear code structure. A dedicated folder or module can be created within the project, making it easy for users to locate and integrate these algorithms seamlessly into their projects.

This addition not only enhances the project's feature set but also promotes collaboration by providing a practical contribution that aligns with the project's objectives. I look forward to discussing and collaborating with the community to bring this proposal to fruition.

Additional information

No response

realstealthninja commented 11 months ago

would you like to add this yourself?

Ashna26-Mittal commented 11 months ago

Yes

github-actions[bot] commented 10 months ago

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 9 months ago

Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!