MixedMyth wrote:I like the body. The head seems a little bit at odds with it, though I can't put my finger on why. Still, nice pose!
MixedMyth wrote:I like the body. The head seems a little bit at odds with it, though I can't put my finger on why. Still, nice pose!
MixedMyth wrote:But more importantly...I did a mini me!
%A matlab script for making a mandelbrot set graphic, for fun.
disp 'Initializing...';
pixwidth=1600;
maxits=100; %Turns out this can be surprisingly low for low-value renders
%creates a grid
c=ones(floor(0.75*pixwidth),1)*linspace(-2,1,pixwidth) + i*linspace(-1,1,floor(0.75*pixwidth))'*ones(1,pixwidth);
z=zeros(size(c));
its=z;
k=1:(size(c,1)*size(c,2));%a counter for every index of c/z
disp 'Calculating...';
%find trick learned from some other dude's implementation, I forget whose.
for j=1:maxits,
z(k)=z(k).^2+c(k);
k=k(find(abs(z(k))<2)); %filters out ks which have already been pwned
its(k)=its(k)+1;
end
disp 'Rendering...';
image(its);
colormap(bone);
disp 'Finished.';
Users browsing this forum: No registered users and 1 guest