kernel NewFilter < nameSpace : "your namespace"; vendor : "your vendor"; version : 1; description : "your description"; > { parameter int width < defaultValue: 200; minValue: 1; maxValue: 400; description: "height of the generated plasma"; >; parameter int height < defaultValue: 200; minValue: 1; maxValue: 400; description: "width of the generated plasma"; >; void evaluatePixel(out pixel4 result) { float2 coord = outCoord(); float a = 0.5 + 0.5 * sin( coord.x / 16.0 ) + 0.5 + 0.5 * sin( coord.y / 8.0 ) + 0.5 + 0.5 * sin( ( coord.x + coord.y ) / 16.0 ) + 0.5 + 0.5 * sin( length( coord ) / 8.0 ); a /= 4.0; result = pixel4(a,a,a,a); } region generated() { return region(float4(0,0,width,height)); } }