This site requires JavaScript, please enable it in your browser!
Greenfoot back
efe
efe wrote ...

2015/2/17

How to make a clock hand

1
2
efe efe

2015/2/18

#
If I draw a new graphic with left to right extension your original code works too, kind of but using your most recent suggestion yields a more precise movement. Thus I finished with your code, and published with reference to your code.
danpost danpost

2015/2/18

#
efe wrote...
I guess the problem is that the main extension in the graphic is in y direction (bottom to top) whereas the main extension in yours is in x direction (left to right).
That makes sense. You would then need to create an image with double the height (instead of the width) of the original image and draw the original image at (0, 0) on the new double-sized image (presuming the hand points upward to begin with).
You need to login to post a reply.
1
2