Toolfarm Network: Toolfarm | Final Cut Studio Planet | Toolfarm MySpace

Skip to content

Latitude/Longitude Slider


Hello folks!! Sorry I’ve been so remiss in posting something here. It has been CRAAAAZZY busy in the last month since I went freelance, which is a good thing.

Anyway, here’s a cool little expression I worked up that creates a Latitude or Longitude read-out based on a slider value. It’s more for effect than anything.. don’t expect any amazing accuracy with this.

If you just want the script, it’s pasted below.
Or you can download the project here. (Requires AE7).


v = effect(”Slider Control”)(”Slider”)/100;
n = Math.sin(v)*360;

degrees = Math.floor(n);
min = Math.floor((n%1)*60);
if (min<10) {min = “0″ + min};
if (degrees
<100) {degrees = “0″ + degrees};
if (degrees
<10) {degrees = “0″ + degrees};

“” + degrees + “ &deg ” + min +” min “;

Post a Comment

Your email is never published nor shared. Required fields are marked *


toolfarm japan

Coremelt AE

rerendered