5 ms·
Because it had to be done: let robot = function () { const ballAngle = loopTapApp.getBallAngle(); const arc = loopTapApp.arc; if (b
by alex_smart 5y ago
Because it had to be done:
let robot = function () {
const ballAngle = loopTapApp.getBallAngle();
const arc = loopTapApp.arc;
if (ballAngle + 6 > arc[0] && ballAngle - 6 < arc[1]) {
window.dispatchEvent(new Event('mousedown'));
}
}
var timer = setInterval(robot, 10);
- y4mi 5y agoat ~1600 the ball started to spin too quickly for an intersection with that 10ms timer and there were 6 balls visible at the same time with my 144hz display. fun stuff.
- fullstop 5y ago3 visible at ~1600 here. I then set the timer to 1ms and it got a few more points and then put the ball in the very center of the circle. When I clicked, the game ended.
- thrdbndndn 5y agoWhy does this autoplay cause the ball to seemingly "jump/skip"?
- deleted 5y ago[deleted]