Ganesh calming Android phone app
very simple:
PImage gan;
int counter;
void setup() {
gan =loadImage("ganesh.png");
background(#FF99FF);
}
void draw() {
imageMode(CENTER);
counter =frameCount;
translate(width/2, height/2);
image(gan, 0, 0, width, height);
rotate(counter*TWO_PI/360);
strokeWeight(5);
stroke(#CC527A);
fill(#FF99FF);
tint(255, frameCount%5);
noTint();
tint(255, 124);
image(gan, 0, 0, 400, 400);
noTint();
tint(255, frameCount%120);
image(gan, 0, 0);
}
this isn't clear to me, how ths is a app ?
ReplyDeleteProcessing allows you to convert programs to be uoploadable to android phones, it isnt 'interactive', I agree, but it spins round hypnotcally and creates a feeling I like...
ReplyDelete