• Remix
  • Share
  • New Entry

on 7 Oct 2022
  • 4
  • 30
  • 0
  • 0
  • 233
% 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.8i-1)*Z - 1./(sin(Z)+1i);
% Choose a coloring scheme from 1 to 92!
colorScheme = 1;
hsvImg = domainColoring(W, colorScheme);
imgRGB = hsv2rgb(hsvImg);
image(imgRGB);
axis square off
Image
Remix Tree