CRT-like image effect
in
Programming Questions
•
1 year ago
Hello everyone!
But it runs too slowly. I tried with the pixels array, but I could not get the alpha channel to work. Any help?
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);
- }
- }
- }
Thanks!
1