Commit 68fa4733 authored by Christoph Saffer's avatar Christoph Saffer

Turned picture

parent d32dee38
...@@ -41,7 +41,7 @@ int main(int argc, char* argv[]) { ...@@ -41,7 +41,7 @@ int main(int argc, char* argv[]) {
// Default parameters // Default parameters
int num_iterations = 100; int num_iterations = 100;
int num_intervals = 500; int num_intervals = 1000;
int num_params = num_intervals + 1; int num_params = num_intervals + 1;
double alphabetamin = 0; double alphabetamin = 0;
...@@ -70,7 +70,7 @@ int main(int argc, char* argv[]) { ...@@ -70,7 +70,7 @@ int main(int argc, char* argv[]) {
#pragma omp parallel for #pragma omp parallel for
for (int j=num_params-1;j>=0;j--) { for (int j=num_params-1;j>=0;j--) {
for (int i=0;i<num_params;i++) { for (int i=0;i<num_params;i++) {
buffer[j*num_params+i] = pixel( params[i],params[j], x_start, y_start, num_iterations); buffer[(num_params-j-1)*num_params+i] = pixel( params[i],params[j], x_start, y_start, num_iterations);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment