-
Counting from 0-150 in 151 frames ?
OK I am trying to do degrees in increments of 1 for a weather app on android and I am having trouble with the expression seen below!
4 Is not the right count duration and I cant seem to figure out the right one.
How would I go about doing the math for this?I want it increments of 1 so I can render every frame in that increment. I am trying to go from 0-150° Fahrenheit and i need to render every frame of that for this weather app. If someone could lend me a hand with this expression math I am fairly new to expressions and everyone seems like a challenge to me so much thanks to anyone willing to help.
<code>beginCount = 0;
stopCount = 150;beginTime = 0; // start counting at time = 0
countDur =4; // count for 4 seconds"" + Math.round(linear(time,beginTime,beginTime + countDur,beginCount,stopCount)) + "°"