Glitchy: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 47: Line 47:
File:Br 4.png
File:Br 4.png
File:glll.png
File:glll.png
File:av_1.gif
File:av_2.gif
</gallery>
code_processing for face_ glitching (glitching src:[http://facegen.com/ faceGen tool for creating hyper Realistic self]


</gallery>
code_processing:
  float heightGlitch;  
  float heightGlitch;  
  float widthGlitch;  
  float widthGlitch;  

Revision as of 21:17, 17 March 2013

++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++

________//|| The ||\\________
====GLITCH = GLITCH = GLITCH====
----------------------------------

dEFINITION--->
History of glitches & Theory and Aestetics --->
Current readings: The Glitch Moment(um) by ROSA MENKMAN Institute of Network cultures
Glitch Aestetics by Iman Moradi
gLITCH is the unexpected result of a malfunction
key words: destruction, distortion of a signal, error, corrupting digital code/data,"bug" Glitch art
+ pROJECTS & ArTISTS in the field:
HelloCatFood is glitch user, practitioner - projects worthy to mention "Interpretations of Reality" & "Glitch Webcam"
Rosa Menkman s theorist and researcher in glitch art.
Facebook artist Glitchr who is glitchering fb layout
Extra File is open source software encourage you to create own image file format
My first Glitch throught command line:

sed 's/H/l/g' [fileName.jpg]

works only with jpgs

code_processing for face_ glitching (glitching src:faceGen tool for creating hyper Realistic self


float heightGlitch; 
float widthGlitch; 
PImage img;
int  imageWidth = 600;

void setup() {

 img = loadImage("FileName.jpg");
 size(img.width, img.height);
 heightGlitch = 100; 
 widthGlitch = img.width/10.0f;  
frameRate(30);

}

void draw() {

 filter(BLUR, 0.05);
 image(img, 0, 0);
 img.loadPixels();
 float randY = random(0,img.height-heightGlitch);  
 float randYend = randY+heightGlitch;
 for (int j=int(randY); j<int(randYend); j++) {      
   float randInitialX = random(0,img.width-widthGlitch);    
   for (int i = int(randInitialX);i<int(randInitialX+widthGlitch);i++) {      
     img.pixels[img.width*j+i+1] = img.pixels[img.width*j+i];
     //apply color:  img.pixels[img.width*j+i+1] = color(255, 0, 0, 50);
   }                   
  } 
  img.updatePixels();

}