Skip to content

Instantly share code, notes, and snippets.

View dxjones's full-sized avatar
😎

David Jones dxjones

😎
View GitHub Profile
@dxjones
dxjones / index.txt
Last active November 24, 2024 03:06
index
alpha
beta
gamma
delta
epsilon

Keybase proof

I hereby claim:

  • I am dxjones on github.
  • I am dxjones (https://keybase.io/dxjones) on keybase.
  • I have a public key ASBek0EQLXKAy_BtGM2GARWk0sMvYyaLblVlluutNBQxjQo

To claim this, I am signing this object:

@dxjones
dxjones / CalculateFlipTime.m
Created January 9, 2015 01:51
CalculateFlipTime.m
% CalculateFlipTime.m
%
% t = CalculateFlipTime(now, beampos, vblank, vtotal, FlipInterval)
%
% Use "beampos" to calculate "Flip" time of current video frame.
%
% If beampos < vblank, then Flip time is in the future.
% If beampos > vblank, then Flip time is in the past.
%
% If Flip time is at least 3 msec in the future,
@dxjones
dxjones / Demo_FlipBug.m
Created January 8, 2015 22:26
Demo_FlipBug.m
% Demo_FlipBug.m
%
% 2015-01-08 [email protected]
%
% set ShowBug to false to avoid missed Flips
% set ShowBug to true to demonstrate missed Flips
ShowBug = true; % see line #75