Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
TheComputerGuy
TheComputerGuy's Profile
1
Posts
2
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
CRT-like image effect
[4 Replies]
09-Aug-2012 07:59 PM
Forum:
Programming Questions
Hello everyone!
I'm trying to make an CRT-like effect in Processing, like this image:
And I have two questions:
How can I create the color bleeding effect? (the red/blue pixels "bleeding" around the white areas)
I've managed to create the noise effect with the following code:
void setup()
{
size(320, 240, P2D);
noSmooth();
}
void draw()
{
background(255);
for(int x=0; x<width; x++)
{
for(int y=0; y<height; y++)
{
stroke(0, 0, 0, random(0, 1)*100);
point(x, y);
}
}
}
But it runs too slowly. I tried with the pixels array, but I could not get the alpha channel to work. Any help?
Thanks!
«Prev
Next »
Moderate user : TheComputerGuy
Forum