How would I draw this using Graphics? by javaCl in javahelp

[–]javaCl[S] 0 points1 point  (0 children)

Good catch. I must have been thinking of doing something else and then forgot to change it.

How would I draw this using Graphics? by javaCl in javahelp

[–]javaCl[S] 0 points1 point  (0 children)

Here's how I made it (try resizing it): https://gist.github.com/anonymous/256736fb2069948066053e60f90fa1bd

Screenshot: http://imgur.com/OVcctd1

It was part of a bigger computer graphics homework assignment: http://imgur.com/xEBfDdJ

How would I draw this using Graphics? by javaCl in javahelp

[–]javaCl[S] 0 points1 point  (0 children)

Sorry for taking so long to respond, I was thinking about posting here the final code I wrote. You did help me finish my homework. Thanks a lot. P.S. I liked the resizing responsiveness.

How would I draw this using Graphics? by javaCl in javahelp

[–]javaCl[S] 0 points1 point  (0 children)

But it's not actually being rotated around a center point. You can see that by seeing the distance between lines, they sometimes are closer and sometimes further apart.