spiralRGB

26 views
Skip to first unread message

Nevit Dilmen

unread,
Nov 22, 2009, 7:56:09 PM11/22/09
to MathMap
I modified the original Spiral filter so that it now has values for
red green and blue channel.

Nevit Dilmen


filter spiralRGB
(float Red: 0-20 (2),
float Green: 0-20 (4),
float Blue: 0-20 (6))
RRR=sin(r*Red*pi*2-a+t*2*pi)*0.5+0.5;
GGG=sin(r*Green*pi*2-a+t*2*pi)*0.5+0.5;
BBB=sin(r*Blue*pi*2-a+t*2*pi)*0.5+0.5;
rgbColor(RRR,GGG,BBB)
end

Owen

unread,
Nov 23, 2009, 2:36:13 AM11/23/09
to MathMap
Thanks, colorful illusionary effect on the eye/brain



Owen
Reply all
Reply to author
Forward
0 new messages