 Beautiful Mathematical Functions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

5 .0
Description:

I am fond of mathematics since I remember. Here I present you a set of wallpapers constructed by drawing the z=f(x,y) type functions on different colorsmaps. Look at the beauty of mathematics by zooming in on these pictures and you will instantly find resemblance with something, something beautiful that you have seen before. The image filenames reflect the mathematical functions used to construct them. Replace 'INTO' by '*', 'PW' by '^' and 'BY' by '/' (without quotes) in the image filenames.

For those who want to try out by themselves, I am putting a sample Octave Script to construct such wallpapers:

%% THIS SCRIPT RUNS BOTH IN GNU OCTAVE AND MATLAB AND PLOTS A BEAUTIFUL WALLPAPER
% Matlab/Octave Script (Code Developer/Contributor: sbnwl)

clear all; clc;
v = zeros(1080,1920);
cx = 0.5*size(v,2)/1;
cy = 0.5*size(v,1)/1;
r = zeros(size(v));
for i = 1:size(v,2)
for j = 1:size(v,1)
x = j-cy;
y = i-cx;
r(j,i) = (x^2 + y^2)^0.5;
d = r(j,i);
I(j,i) = real(log(x/cos(0.1*d)+y/(sin(0.1*d) )));
end
end

I = I/max(max(abs(I)));
h = figure;
imagesc(I), axis image; colormap('autumn')
%caxis([-0.8 0.5]) % Tweak here.
% Remove Ticks and Labels
set(gca,'xticklabel',[]); set(gca,'xtick',[]);
set(gca,'yticklabel',[]); set(gca,'ytick',[]);
set(gcf,'position', [(1920-1920) (1080-1080) 1920 1080])
% Remove White Borders and Save the Image
set(gca,'position',[0 0 1 1],'units','normalized')
saveas(h,'image','tif')
Be the first to comment
 1 2 3 4 5 6 7 8 9 10
Be the first to comment