Commit 0f40900a authored by Christoph Saffer's avatar Christoph Saffer

Generate picture on command line

parent 9428ad8f
......@@ -95,8 +95,13 @@ int main(int argc, char* argv[]) {
// Output pixel vector
for (int i = 0; i < intervals*intervals; ++i){
std::cout << i << ": --- " << pixel[i] <<std::endl;
if ( (i%intervals) == 0) {
std::cout <<std::endl;
}
std::cout << pixel[i];
}
std::cout <<std::endl;
return 0;
}
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