Thread Content
Some time ago, when I had nothing to do, I made a clock with a minute hand, an hour hand, and a second hand. I’m not sure if people will be interested, but it’s quite interesting.
No, the original poster will explain the steps!
Take it out and have a look, give it a push. Hehe
Reply to 3# Rapeseed flowers: It was created using simple color-changing conditions; you should use your brains and think about it first
Reply to 2# God of Soul Slaying: It was written using simple color-change conditions; you should use your brains and think about it first
Color change, layered images; TIME60=1, TIME60=2... There’s a function for making mixers, and this one should work too
The last edit to this post was made by hallon520 on 2010-12-9 at 21:02. Let me tell you the answer: I drew sixty lines to represent the second hand, the minute hand, and the twelve hour hands. The color changes are as follows – it’s transparent when $_TIME%60 is between 0 and 59; this represents the second hand. It’s transparent when $_TIME/60%60 is between 0 and 59; this represents the minute hand. Another thing that’s a bit difficult to figure out is the hour hand: it should be transparent when $_TIME/3600%120 is between 10 and 11; you can give it a try if you’re interested. However, dividing the circumference evenly into sixty equal parts remains a problem. I simply divided the circle into twelve equal parts, which is why I asked everyone that question about the 30° angle.