World of Patterns
This small QT program tends to explore the hidden pattern in the functions.
The list of thumbnails in the right are images generated from this program. It
uses the color value of a pixel, which can be a long int, as a key to trace
the function in terms of (x, y).
Creating Patterns
Here is a piece of code from the application: (
frmcurve.cpp)
.....
for (long long int x=0; x<=s.width ()/2; x++)
for (long long int y=0; y<=s.height ()/2; y++)
.....
/* Replace "x+y" with function of (x,y). */
QColor clr (x+y);
.....
As the comment says, replace "
x+y" with say "
abs(x*x-y*y)+x*y" or
any function that you wish and then compile the application using qmake/make.
BitWise functions
It would be interesting to work with the bitwise functions the AND, OR,
XOR functions are interesting that its map are fractalline in nature.