Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change frame rate javascript

var myText = document.createElement('p');
document.body.append(myText);

var seconds = 0;

setInterval(myFunction, 1000);

function myFunction() {
  p.innerText = seconds.toString();
  seconds++;
}
 
PREVIOUS NEXT
Tagged: #change #frame #rate #javascript
ADD COMMENT
Topic
Name
4+9 =