function continuous_random_quadrant_circle_on_space()
3*figWidth/4, figHeight/4;
figWidth/4, 3*figHeight/4;
3*figWidth/4, 3*figHeight/4
fig = figure('Position', [100, 100, figWidth, figHeight]);
set(fig, 'Color', [1 1 1]);
axis([0 figWidth 0 figHeight]);
set(gca, 'YDir', 'reverse');
set(gca, 'XTick', [], 'YTick', []);
set(fig, 'WindowKeyPressFcn', @keyPressCallback);
disp('Press the spacebar to move the circle. Press "E" to exit.');
centerX = centers(idx, 1);
centerY = centers(idx, 2);
axis([0 figWidth 0 figHeight]);
set(gca, 'YDir', 'reverse');
set(gca, 'XTick', [], 'YTick', []);
set(fig, 'Color', [1 1 1]);
rectangle('Position', [centerX-radius, centerY-radius, 2*radius, 2*radius], ...
'Curvature', [1, 1], 'FaceColor', 'r');
disp(['Circle moved to Quadrant ', num2str(idx)]);
function keyPressCallback(~, event)
if strcmp(event.Key, 'space')
elseif strcmp(event.Key, 'e')
disp('Exiting program...');