Math Art

Interactive javascript version of This.

Javascript knowledge is a must although there is an example already filled in below.

You can reference 'redFunc', 'greenFunc' and 'blueFunc' in the functions.

There is also 'SIZE' to use as well.

Each function should return a integer between 0 and SIZE-1.

ColourInputOutput
Red
function redFunc(i, j) {
return j&i;
}
Green   
function greenFunc(i, j) {
return redFunc(i,j);
}
Blue
function blueFunc(i, j) {
return redFunc(i,j);
}

Go Size (px):