Numbers Spiraling Outwards
After spending a week in the hospital (for elective surgery) and not being able to work on my app for my cell phone, I finally got enough energy back to do so. I thought of an idea with respect to making the numbers of the clock disappear - by having the numbers move away (or back to) their home positions in a spiral path.
My spiral path algorithm needs work (right now, it only seems to work if the point starts at 0° - clearly a bug in my implementation - I stared and stared at the code and just couldn't figure it out, so for now, I have a workaround that does the following: generate the path for 0° then rotate each point for each hour position with a simple trigonometric calculation - ugly, but it works for now) and the timing needs refinement, but it's close to what I wanted.
This is a test of the numbers spiraling way from the circumference of the clock face - eg, outwards beyond the visible screen. The numbers also spiral back to their home locations.
Numbers Spiraling Outwards
After spending a week in the hospital (for elective surgery) and not being able to work on my app for my cell phone, I finally got enough energy back to do so. I thought of an idea with respect to making the numbers of the clock disappear - by having the numbers move away (or back to) their home positions in a spiral path.
My spiral path algorithm needs work (right now, it only seems to work if the point starts at 0° - clearly a bug in my implementation - I stared and stared at the code and just couldn't figure it out, so for now, I have a workaround that does the following: generate the path for 0° then rotate each point for each hour position with a simple trigonometric calculation - ugly, but it works for now) and the timing needs refinement, but it's close to what I wanted.
This is a test of the numbers spiraling way from the circumference of the clock face - eg, outwards beyond the visible screen. The numbers also spiral back to their home locations.