• Remix
  • Share
  • New Entry

on 7 Oct 2022
  • 12
  • 47
  • 2
  • 0
  • 234
% 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+1i*Y;
% Change this complex function!
W = Z.^2 + (0.5i-1)*Z - 1./(sin(Z)+1i);
% Choose a coloring scheme from 1 to 92!
colorScheme = 51;
hsvImg = domainColoring(W, colorScheme);
imgRGB = hsv2rgb(hsvImg);
image(imgRGB);
axis square off
Remix Tree