Monday 19 October 2015

Help pls, code for hor mov based on 24 hrs parameters



Hello everyone!

I've been playing with this awesome widget for a while, mostly overlaying images to do cool clocks and stuff
However I got to a point today where, inside a fisheye I wanted to put an image of a timelapse scenery that moves horizontally based on a 24 hrs data.

For the life of my I cant figure out the code (Even though Im a master in MS Excel) to make it move to a 150 coordinate at noon, -30 at midnight with a middle point of 60 at 6 pm and am, so basically it has to go back and forth, like this:

X Y
0 -30
3 15
6 60
9 105
12 150
15 105
18 60
21 15
24 -30

Im thinking on some IFs to pull it out but I cant put it together in the code for the widget.
Please help me :):):):)



No comments:

Post a Comment