aboutsummaryrefslogtreecommitdiff
path: root/Plugins/green.cpp
blob: 53f58e53f2b99902e407907b40091450b7d9a44c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// this is just an example of using the pixels-class..

#include "plugin.h"
#include "pixels.h"

void perform_effect(_frame f, _args a)
{
	pixels p(f);
	while(!p.eof())
	{
		p.putrgb(0, p.green(), 0);
		p.next();
	}
}

INFO("go green")