• Status: Closed
• Prize: \$250
• Winner: Jeffersonben

Contest Brief

Make us a blossoming flower using shader code!

Create a 2d or 3d representation of a blossoming flower, that expands/contracts using a sinusoidal signal (supplied in boilerplate code).

The shader code must be able to run using glslViewer: https://github.com/patriciogonzalezvivo/glslViewer

Flowers will be judged on how relaxing they look, and if they have a “zen” aesthetic.

#ifdef GL_ES
precision mediump float;
#endif

uniform vec2 u_mouse;
uniform vec2 u_resolution;
uniform float u_time;

uniform sampler2D u_tex0;
uniform vec2 u_tex0Resolution;

void main (void) {
vec2 p = (2.*gl_FragCoord.xy-u_resolution.xy) / u_resolution.y;
float t = u_time;

float LFO = (1. + sin(t * 0.5))*0.5; // you MUST use this to modulate the flower

float amp = 15. / ((60. + LFO*60.) * abs((1.5+(1.-LFO)*3.)*length(p)-1.) );

vec3 c = vec3(amp);
gl_FragColor = vec4(c, 1);
}

Winner

Employer Feedback

“Followed instructions, self-managed very well.”

muviklabs, United States.

Public Clarification Board

• kuntalkuilaya079
• 4 weeks ago

Hi, Good day! Question: Do you want the opening and closing of the petals with only that format of sine curve with different values? Or, you want to put this sine curve in a bunch of different functions? Is there any restriction of use of functions?

• 4 weeks ago

How to get started with contests

• Post Your Contest Quick and easy

• Get Tons of Entries From around the world