-
Notifications
You must be signed in to change notification settings - Fork 6
/
JudgingBegins.fs
95 lines (86 loc) · 2.29 KB
/
JudgingBegins.fs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/*{
"CREDIT" : "JudgingBegins by Nimitz",
"CATEGORIES" : [
"ci"
],
"DESCRIPTION": "",
"INPUTS": [
{
"NAME": "inputImage",
"TYPE" : "image"
},
{
"NAME": "iZoom",
"TYPE" : "float",
"MIN" : 0.0,
"MAX" : 1.0,
"DEFAULT" : 1.0
},
{
"NAME": "iSteps",
"TYPE" : "float",
"MIN" : 2.0,
"MAX" : 75.0,
"DEFAULT" : 19.0
},
{
"NAME" :"iMouse",
"TYPE" : "point2D",
"DEFAULT" : [0.0, 0.0],
"MAX" : [640.0, 480.0],
"MIN" : [0.0, 0.0]
},
{
"NAME": "iColor",
"TYPE" : "color",
"DEFAULT" : [
0.9,
0.6,
0.0,
1.0
]
}
],
}
*/
// https://www.shadertoy.com/view/llXGzB
//Neon Light Illusion by nimitz (twitter: @stormoid)
/*
The Two tweets challenge 2015 is over.
An overwhelming amount of great stuff has been submitted in
the past 2 weeks, I was expecting maybe a dozen entries and
we are at 105 at the time of this writing.
Thanks to everyone who participated and helped make this
fun and interesting.
Judging:
Fow anyone who wants to help with judging, you can
send you top 5 picks in order (from #1 to #5, best being #1)
via email at: nimitzstg at gmail.com
Anyone who participated in the tournament can
be a judge, just let me know what's your shadertoy
username in the email. Only restriction is you can't
vote for your own shaders and you must send exactly
5 picks. You can vote for multiple shaders of a single
user in your top 5.
TLDR:
-Send your top 5 shaders in order from best to worst
-Don't vote for yourself
-Mention your shadertoy username
-You can vote for multiple shaders of a single user
Points Calculation:
Every judge has the same voting weight, your
first pick gets 1 point, second 0.75 points,
third 0.5625 points and so on (n+1 = n*0.75).
Winners are the shaders with most points.
*/
void main(void)
{
vec4 o = gl_FragCoord/RENDERSIZE.xyxx-.5, d=o, r, z=d-d;
float t = TIME, c;
o.xz += t;
for(int i=0;i<99;i++)
c= dot( (r = cos(o + o.w*sin(t*.9)*.1)).xyz, r.xyz),
o -= d* dot( (r = cos(r/c*7.)).zy, r.zy ) *c*.2,
z += abs(sin(vec4(9,0,1,1)+(o.y + t + o.w)))*.12*c/(o.w*o.w+ 6.5);
gl_FragColor = z*z*z;
}