// Sample scene. 'yuqk f_round_gcd.pov +w800 +h800 +p +mv3.8' global_settings { assumed_gamma 1.0 } #declare VarOrthoMult = 3.0/max(image_width/image_height,image_height/image_width); #declare Camera01z = camera { orthographic location <0,0,-2> direction z right VarOrthoMult*x*max(1,image_width/image_height) up VarOrthoMult*y*max(1,image_height/image_width) } #include "functions.inc" plane { -z 0.5 pigment { function { f_gcd(f_round(x-1),f_round(y),0,0) + f_gcd(f_round(x*3),f_round(y),0,1)*10 } raw_wave color_map { [0 rgb <0.6,0.2,0.1>] [32 rgb <0.2,1.0,0.7>] [32 rgb <0.0,0.0,0.0>] [36 rgb <0.0,0.0,0.0>] } scale <1/4,1/12,1> rotate z*45 } finish { emission 1 } } camera { Camera01z }