 	
 	vec2 c_orig;
 	
-	float peak = 0.800;
-	float peak_i = 1.0 - peak;
+	vec3 peak = vec3(
+		0.200,
+		0.400,
+		0.800
+	);
 	
 	vec3 rgb_falloff = vec3(
 		1.0,

	vec4 color;
	float ratio = i / iter;
	
	if (ratio < peak) {
		color = vec4(
			clamp(1.0 - (peak - ratio) / (peak / rgb_falloff.x), 0.0, 1.0),
			clamp(1.0 - (peak - ratio) / (peak / rgb_falloff.y), 0.0, 1.0),
			clamp(1.0 - (peak - ratio) / (peak / rgb_falloff.z), 0.0, 1.0),
			1.0
		);
	}
	else {
		color = vec4(
			clamp(1.0 + (peak - ratio) / (peak_i / rgb_falloff.x), 0.0, 1.0),
			clamp(1.0 + (peak - ratio) / (peak_i / rgb_falloff.y), 0.0, 1.0),
			clamp(1.0 + (peak - ratio) / (peak_i / rgb_falloff.z), 0.0, 1.0),
			1.0
		);
	}
	
	gl_FragColor = color;
}

	
	c.x *= aspect;
	
	c_orig = c; // mandelbrot
	// c_orig = vec2(-0.275, -0.645); // julia seed
	
	float i;
	
