Ask Experts Questions for FREE Help !
Ask
    aneelbakshi's Avatar
    aneelbakshi Posts: 1, Reputation: 1
    New Member
     
    #1

    Mar 7, 2007, 02:50 AM
    about setInterval
    how I can use setInterval
    I know
    1 second=1000 millisecond
    but I'm confuse that how
    10 fps==100 milliseconds
    explain
    Capuchin's Avatar
    Capuchin Posts: 5,255, Reputation: 656
    Uber Member
     
    #2

    Mar 7, 2007, 02:53 AM
    The time between frames is the inverse of frames per second



    In other words, each of the 10 frames are on for 100 milliseconds, which has to add up to a total time of 1 second

    10*100 = 1000milliseconds, which is a second.
    Capuchin's Avatar
    Capuchin Posts: 5,255, Reputation: 656
    Uber Member
     
    #3

    Mar 7, 2007, 03:07 AM
    Hi, as you are still confused I will try again.

    You have 10 frames per second.

    This means 10 frames in every second.

    To work out the time for each frame, you need to split up the second into equal amounts.

    Because you have 10 frames per second, you need to split the second up into 10 equal amounts.

    this is done by division: , this is 100 milliseconds using the conversion that you say you understand.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.



View more questions Search