python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Making a clock that takes 2560ms to complete a revolution in JavaScript
I'm trying to make a clock for a Libet task - a cognitive task used by psychologists. By convention these clocks take 2560 ms to complete a revolution. Mine seems to be running quite a lot slower and ...
M.L.
Votes: 0
Answers: 4
Variation in JavaScript's Date accuracy
TLDR: Is there data on variation of JS's Date accuracy?
I'm looking into doing some research online, gathering reaction data for experiments.
As a contrived example, let's say a user clicks a button a...
Tom
Votes: 0
Answers: 0
How to accurately regulate timed sequences in Pygame?
I am working on a game that features the TARDIS from Doctor Who. I have chosen to animate the TARDIS materialization sequence by altering the alpha value of the surface. The method works and looks g...
Michael John Tross
Votes: 0
Answers: 2
Using element in vector as index in array?
I'm writing code that randomly generates a vector of indices, fetches a random one, then uses that index to fetch another index, and so on. However, my code seems to repeat a cycle of indices. Here is...
ness64
Votes: 0
Answers: 2