Analog Clock | What time is it? It's Polar Coordinate Time, of course.
Moving past reading time as figures, let's depict it as analog clock with hands [H : M : S].
- Study polar coordinates | Recommended watching this video
- Let you map just one of the hands, seconds for instance, as a hand. Use sin (), cos ()
- Click here to get this week's starting code.
- Could you make the hands move smoothly (just like this (https://t.me/WeeklyCoder/21?comment=81) video)?
- How about using some APIs or hardcoding time differences to depict World Clock with Multiple Time Zones?
Recommended Learning:
- sin (), cos (), map (), dist (), constrain (), lerp ()
- radians ()
- Submission of this challenge, just like all of the Weekly Coder’s challenges, is to be within 36 hours after post. And so, here Sunday morning 12:00 LT.