python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
HTMLMediaElement.currentTime does not appear to advance between requestMediaFrame callbacks
I have a fairly simple iteration that copies the content of a <video> into a <canvas>. The idea is that I start copying when the video plays and stops copying when it detects that the vide...
jyurek
Votes: 0
Answers: 3
basic js game not animating smoothly
I'm just testing basic side scroller functionality using js. I've never done anything like this, so I don't really know what I'm doing but I'm having trouble finding anything on the internet that's qu...
fgvand94
Votes: 0
Answers: 1
Requestanimationframe implementation: recursive / recursive fps limited / one-off
I've studied requestanimationframe documentation and looked for many posts about the usage of it, but i still haven't get a clear answer on one of my thought.
I understand that requestanimationframe i...
Iamisti
Votes: 0
Answers: 1
How do I repeatedly interpolate linearly between two values within a requestAnimationFrame loop
I'm trying to implement multiplayer position interpolation for my canvas game but I'm having trouble using my linear interpolation (lerp) function. I experience slight jitter when using t = 0.1 so I'm...
afterburn
Votes: 0
Answers: 0