With given 2 point for example: (200,100) and (245,200), how can i make a hexagon out of this ?
The hexagon should be drawn to the left side of the line. I can’t figure it out, no matter how i try.
I can’t use anything besides my line drawing algorithm.
Which is:
There are other ways to do this.
There are translate() and rotate() functions; I did not use these.
I did the math. Have fun exploring the possibilities!
:)
Resources
I encourage you to review the resources available here: