Follow

I'm so proud of the algorithm I designed for my Computer Graphics course 2 hours ago! It's an implementation over the DDA (a function that draws lines), that provides to it the ability to draw pattern-based ones, based on characters that the user input.

For example, ". " would print a dotted line, "- " a dashed line, and ". - " would mix them together.

It was tricky, but really fun to code!

Sign in to participate in the conversation
LinuxRocks.Online

Linux geeks doing what Linux geeks do...