Friday, 6 January 2012

A screen shot taken from the programme I made using processing which, by activating the webcam, translate the image into 1 and 0's - binary. However, Im at a loss of to how to upload/ run the programme anywhere other than my own laptop, so instead the script is below:

/**
* ASCII Video
* by Ben Fry.
*
* Text characters have been used to represent images since the earliest computers.
* This sketch is a simple homage that re-interprets live video as ASCII text.
* See the keyPressed function for more options, like changing the font size.
*/

import processing.video.*;

Capture video;
boolean cheatScreen;

// All ASCII characters, sorted according to their visual density
String letterOrder =
" .`-_':,;^=+/\"|)\\<>)iv%xclrs{*}I?!][1taeo7zjLu" +
"1000100010111100101001010101010100101010010";
char[] letters;

float[] bright;
char[] chars;

PFont font;
float fontSize = 1.5;


public void setup() {
size(640, 480, P2D);
// Or run full screen, more fun! Use with Sketch -> Present
//size(screen.width, screen.height, OPENGL);

// Uses the default video input, see the reference if this causes an error
video = new Capture(this, 80, 60, 15);
int count = video.width * video.height;

font = loadFont("UniversLTStd-Light-48.vlw");

// for the 256 levels of brightness, distribute the letters across
// the an array of 256 elements to use for the lookup
letters = new char[256];
for (int i = 0; i < 256; i++) {
int index = int(map(i, 0, 256, 0, letterOrder.length()));
letters[i] = letterOrder.charAt(index);
}

// current characters for each position in the video
chars = new char[count];

// current brightness for each point
bright = new float[count];
for (int i = 0; i < count; i++) {
// set each brightness at the midpoint to start
bright[i] = 128;
}
}


public void captureEvent(Capture c) {
c.read();
}


void draw() {
background(0);

pushMatrix();

float hgap = width / float(video.width);
float vgap = height / float(video.height);

scale(max(hgap, vgap) * fontSize);
textFont(font, fontSize);

int index = 0;
for (int y = 1; y < video.height; y++) {

// Move down for next line
translate(0, 1.0 / fontSize);

pushMatrix();
for (int x = 0; x < video.width; x++) {
int pixelColor = video.pixels[index];
// Faster method of calculating r, g, b than red(), green(), blue()
int r = (pixelColor >> 16) & 0xff;
int g = (pixelColor >> 8) & 0xff;
int b = pixelColor & 0xff;

// Another option would be to properly calculate brightness as luminance:
// luminance = 0.3*red + 0.59*green + 0.11*blue
// Or you could instead red + green + blue, and make the the values[] array
// 256*3 elements long instead of just 256.
int pixelBright = max(r, g, b);

// The 0.1 value is used to damp the changes so that letters flicker less
float diff = pixelBright - bright[index];
bright[index] += diff * 0.1;

fill(pixelColor);
int num = int(bright[index]);
text(letters[num], 0, 0);
// Move to the next pixel
index++;

// Move over for next character
translate(1.0 / fontSize, 0);
}
popMatrix();
}
popMatrix();

if (cheatScreen) {
//image(video, 0, height - video.height);
// set() is faster than image() when drawing untransformed images
set(0, height - video.height, video);
}
}


/**
* Handle key presses:
* 'c' toggles the cheat screen that shows the original image in the corner
* 'g' grabs an image and saves the frame to a tiff image
* 'f' and 'F' increase and decrease the font size
*/
public void keyPressed() {
switch (key) {
case 'g': saveFrame(); break;
case 'c': cheatScreen = !cheatScreen; break;
case 'f': fontSize *= 1.1; break;
case 'F': fontSize *= 0.9; break;
}
}

Tying the tutorial in with the concept app, I photoshopped the itunes window to display the genedit app which will feature in the tutorial. By analysing a lot of youtube tutorials I found reoccurring characteristics which will be deployed within my own. Most are done through a simple screen recording and take on a very informal, relaxed tone, using colloquial language and in fact most of the people making the tutorials are fairly young. Despite being a tutorial, intending to explain 'how to', there isn't a great deal of specific or detailed information given, terms are casually mentioned with no reference to what they actually mean, relating to this almost new language which one must adopt in order to continue, perhaps an indication of evolution itself...but I digress. The tutorials generally end with a plea to subscribe to the makers channel or watch their other videos, and tend to remain as they were recorded, unedited and straight forward, lasting around 2-3 minutes.
A few sections from the Kevin Kelly's 'What Technology Wants'. The inevitability of technology's evolution is made clear for the reader as Kelly explores the evolution of humanity, making reference to the nature of gene mutations as not as random as once believed, but display and function in patterns as that of computer data. My project ties in with this notion fairly well, agreeing that in terms of natural selection it seems that technology is a necessity to survive in current times, and as its 'evolution' or advancements begin to overtake that of humanity, it is only inevitable that technology and humanity blend with one another, evolving.

Tuesday, 3 January 2012


I decided to add another feature to the app which allows users to send the mutated gene or a 'pre-made' gene mutation to their contacts. This notion is perhaps the most sinister of all the features, operating very much like a computer virus (and therefore portraying the intwining of technologies) to alter, copy or destroy another body's 'data'.

Looking at the overlap of technologies and app in a positive light, the possibilities are that with many more people developing and editing genes, cures to illnesses such as cancer may be found, or symptoms identified earlier. A child with a mutated gene resulting in Wilms tumour can be sent a 'normal' sequence of that genome and be cured, a generation of DIY or virtual doctors may emerge.

Wednesday, 21 December 2011

'Genedit' Iphone/ipad concept app


The design of the app takes on a graphical element. I took close up photos of skin and in photoshop lifted out sections to create this fragmented and distorted body matter, reflecting what the app allows the user to do. I carried on this theme by using flesh tones and geometric forms that are used to symbolised genes.




No. 1 allows the user to scan the body part which they want to change, fundamentally reading or decoding the body, in the way that a QR code and scanner works. I thought that this illustrated the leak of technologies quite clearly and really the idea isn't too far fetched and seems quite plausible that this will be possible in the near future. To enforce this the screen layout is based upon a QR scanner, with the guidelines to help focus the section.

No. 2 adopts the fragmented skin photos as its theme and encourages the user to selected the exact section of the genome (read and decoded from the previous step). The polygon echoes the standard symbol for genes, but at the same time portrays a digital quality. I included the button 'clone' to make reference to they body and an 'organic' substance is being dealt with. However I then added the button 'delete' instead of destroy to maintain this leak and amalgamation of the two 'technologies' or 'information'. I believe that these two simple buttons alone pose significant questions concerning the future and the responsibilities that technology has to think about the consequences it may have.

No. 3 is based on the layout for a programme writing/ editing tool, again enforcing the idea that users will be able to write or edit their own 'body programme'.

Tuesday, 20 December 2011

Deconstruction of existing apps

Processing is a widely used programming language and environment, which allows the circulation of ideas amongst users. This is fundamentally the concept of my app and so in order to portray this connection, my app will echo elements of design within Processing. The icon attempts to portray the digital environment, using receding tones of blue to create a sense of endless space and depth, and interestingly a physicality and tangible quality. The notion of pattern and connections an individual envisions with digital technology is illustrated by the connecting white lines, which is carried through to the logo'P' in sans serif, basic font assimilated with code writing. I think the angular forms are most to credit for the sense of digital connections and make-up which will work well in my own app.




The design of apps is very vast ranging from the really low tech almost clip art gimmicky apps to the sleek, graphic lifestyle or business apps such as 'goop' or 'nike'. There are a few constants and common design elements however:
The tool bar at the top of the screen gives the screen/page name and a 'back' button

The keypad (if applicable) uses the standard iphone/ipod layout and keys in grey and blue

Majority of buttons or windows have rounded edges and have a gradient shift to appear convex.

DIEM

The DIEM project is an investigation into how we look and see. All research is available to use by the public for non commercial work and the data together with CARPE allows the user to visualize where people look during dynamic scene viewing such as during film trailers, music videos, or advertisements. This is similar to Kyle McDonald's facetracking programme displaying how technology is advancing to assimilate and perhaps even merge with out natural body functions, however what I found particularly interesting was the format describing the eye-tracking data:

[frame] [left_x] [left_y] [left_dil] [left_event] [right_x] [right_y] [right_dil] [right_event]

This very short instruction details such a complex process, it removes every hint of the organic or natural replacing it with a literal, unemotional even soul-less direction, which is very hard to connect with the body.