Processing: Video Game (?) Palimpset

Screen Shot 2017-02-08 at 9.34.47 PM.png

In order to build off my previous project, I decided to take the palimpsest to its “final stage,” which is motion graphics/animation. The video that I referenced in my first assignment, ultimately created a VR experience for users. Thus, with this processing animation, my intention was to create a simple VR or video game experience that utilizes distortion of reality.

Code:

PImage img;
PImage img2;
PImage img3;
int xPosition=-150;
int xPosition2=-300;

void setup()
{
size(500, 500);
img = loadImage(“bkg.jpg”);
img2 = loadImage(“girl.gif”);
img3 = loadImage(“girl2.gif”);
smooth();
frameRate(60);
}

void draw()
{
background (img);
image(img2, xPosition, 240);
xPosition=xPosition+2;
if(xPosition>width+10)
{
xPosition=-150;
}

image(img3, xPosition2, 218);
xPosition2=xPosition2+2;
if(xPosition2>width+10)
{
xPosition2=-200;
}
}

In order to see full animation, click here

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s