We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da973e6 commit a751603Copy full SHA for a751603
devSandbox.m
@@ -23,8 +23,13 @@
23
% Init the structure that will contain PTB setup
24
cfg = struct;
25
26
+% Set some colors to be choosen as background
27
+cfg.white = [255 255 255];
28
+cfg.black = [ 0 0 0 ];
29
+cfg.grey = mean([cfg.black; cfg.white]);
30
+
31
% Set the PTB window background manually
-cfg.backgroundColor = [ 127 127 127 ];
32
+cfg.backgroundColor = cfg.grey;
33
34
% Init PTB, see the Sub-Functions below
35
cfg = devSandbox_initPTB(cfg);
0 commit comments