- /
-
Complex Rotary Motion
on 7 Oct 2022
- 4
- 42
- 3
- 0
- 211
% create 2d grid
x = linspace(-pi/2,pi/2,500);
y = linspace(-pi/2,pi/2,500);
[X, Y] = meshgrid(x, y);
% create complex grid
Z = X+i*Y;
imgRGB = zeros(500,500,3);
hsvImg = domainColoring(-i*log(sin(Z).^3), 10);
imgRGB = hsv2rgb(hsvImg);
image(imgRGB);
axis square off