- /
-
magenta haze
on 6 Nov 2023
- 9
- 111
- 0
- 1
- 157
drawframe(1);
Write your drawframe function below
function drawframe(f)
im = zeros(1000, 1000, 3);
for i = 1:1000
for j = 1:1000
im(i,j,1) = abs(sind((i*j/f)/(49-f)));
im(i,j,3) = abs(cosd(((1000-i)*(1000-j)/f)/(49-f)));
end
end
imshow(im)
end