mac online apple blackjack http://www.euro-online.org

Processing

Going through some examples of Processing from the book Learning Processing by Daniel Shiffan, trying to figure out how to create dynamic sketches to interact with face recognition from webcam maybe….

 

This is just one of the examples I’ve looked at continuing to try and complete more difficult tasks

Open Source Intelligence

Open Source Intelligence

Stadler & Hirsh

A very interesting article on the beliefs and ideas of the Open Source movement. I was particularly taken with the ideas of online communities aiding each other in the progression of software etc for the use of the whole. Starting bringing to my attention ideas of the change in society with more nad more people contributing to online collectives…does this mean our societies have changed and we’re living our lives online?? What is a community? I believe this may be a real part of the research that I will be carrying out….

Back to the article…

Open Source according to Stadler & Hirsh “collaboarative gathering and analysis of information… ‘Open Source Intelligence’”

Using academic peer review rather than judges ….consensus cannot be imposed but reached.

“All new creations are built on previous creations and provide inspiration for future ones…..’innovations commons’” Is this not how society has always evolved…is this the natural progression??? Using wires and circuits instead of physical exchanges….???

Scale?? Economics?? As resources are currently donated…no revenue… contributers n ot motivated by financial gain. “socio-technological learning process is deepening”

Experience Prototyping

Buchenau&Suri

Text exploring the definition of Experience Prototyping… its use to inform our decisions and design so that an interactive successful product… idea is created.  Defining the idea of experience proto as “any represenation, in any medium, that is designed to understand, explore or communicate what it is like to engage with the product, space or system”.

Enabling team and clients to gain first hand appreciation, active engagement with prototype.

Prototypes “design made before  final artifacts exist..inform…process and decisions.”  “the experience of even simple artifacts does not exist in a vacuum but, rather, in dynamic relationship with other people, places and objects….influenced by variations.”

The key to successful prototyping being the ability to allow all involved to experience the product themselves…. subjective…. exploring by doing… and to ask questions about contextual, physical, temporal, sensory, social and cognitive factors.

The point being that it contributes to developing understanding about the essence or essential factors….relationships…people, places and objects over time…..provide inspiration, confirmation or rejection….enabling direct engagement over common ground… developing an attitude and language to solve design problems.

 

The design question being more important than the tools and techniques …

what do prototypes prototype?

Interesting text exploring exactly what a prototype… which is a very grey area due to definition differences between specialisms.

“resolution to mean “amount of detail”, and fidelity to mean “closeness to the eventual design”Look and feel””

“We define prototype as any representation of a design idea, regardless of medium.  This includes a preexisting object when used to answer a design question.”

the importance of “Making separate prototypes enable[s] specific design questions to be addressed with as much clarity ”

he order in which to complete a prototype:

Define “prototype” broadly

Build multiple prototypes.

Know your audience.

Know your prototype; prepare your audience.

Hand from Above

Hand from Above from Chris O’Shea on Vimeo.

Two Towers Working

Screen shot of the completed task

http://upload.wikimedia.org/wikipedia/commons/6/60/Tower_of_Hanoi_4.gif

Towers of Hanoi

After searching on the internet about this problem I came across a clever young chap who has written a code for arduino to figure out the problem. Here it is :

/*
Tower of Hanoi
Demonstrates using the AVR to solve a computational problem. Kinda slow…
*/

#define _disks 25; // How many disks to use in the puzzle

void setup()
{
// Make this 115200 baud to test how long printing takes.
Serial.begin(9600);
}

void loop()
{
int i, dir, *D, *s, n, j, howlong;

n = _disks;
// Making sure there is enough RAM
if((D = (int *)malloc((n+2) * sizeof(int))) == NULL) hang();
if((s = (int *)malloc((n+2) * sizeof(int))) == NULL) hang();
j = n+1;

Serial.print(“Solving Hanoi for “);
Serial.print(n, DEC);
Serial.println(” disks.”);

// Use this value later to compute time
howlong = millis();

/*
Serial.print(“D starts at “);
Serial.println(long(D), DEC);
Serial.print(“s starts at “);
Serial.println(long(s), DEC);
// I love it when commands line up.
*/

for (i=0; in) break;
j=D[i];
D[i]=(i&1)==dir ? ~j>>(j&1)&3 : ++j>>(j>>2<<1);
s[0] = 1;
s[i-1] = s[i];
s[i] = i+1;
}

/*
// Commented out the free() statements to test the hang() function
// causes the array to be allocated out of bounds (eventually).
free(D);
free(s);
*/

// I want to find out how long it took
Serial.print(int((millis() – howlong)), DEC);
Serial.println(" millis to compute.");
Serial.println("Done!");
delay(1000);

}

void hang()
{
long *memscroller = 0;
int i; // Used for formatting

Serial.println("malloc() failed, dropping pants and dumping…");
delay(1000);

// This just loops through memory addresses and prints the values stored therein.
while(true)
{
Serial.print(byte(*memscroller++), HEX); // Print byte value

// Do some really bad formatting
if(i++%8 == 0) Serial.print("\t"); // Tab after 8 bytes
if(i++%32 == 0)
{
Serial.print("\n"); //Newline after 32 bytes
i=0; //Reset variable
}

delay(100);
}
}

Now going to see if it works!

Binary Clock

leds1.png

So I’ve taken up the task of making a binary clock using Arduino. Sounds easy but my general lack of talent and understanding are proving a problem.

Mark 1

Using code found on

http://www.danielandrade.net/2008/07/15/binary-clock-with-arduino/

I tried to change the code so that I wouldn’t have to worry about buttons, as the breadboard was looking very full. After thinking I had done this right I found that my clock merely counted seconds and that was it!
http://www.youtube.com/watch?v=uvYUVPGH_DM

Mark 2

Using a different setup and code I tried to create this binary clock. Again using LED’s as an output. Again a failure!

Mark 3

Well then believe or not…some hours later and another version of code and I have created my first Binary Clock. After a few errors on the way Mark 3 works!!! hurrah. below is a description of what the LED’s equate too and a timelapse video showing my clock working! it runs from 01.11   to 01.47



Here’s the code from my arduino:

int second=0, minute=0, hour=0; //start the time on 0:00:00
int munit,hunit,valm=0,valh=0,ledstats,i;

void setup() { //set outputs and inputs

pinMode(1, OUTPUT);pinMode(2, OUTPUT);pinMode(3, OUTPUT);pinMode(4, OUTPUT);pinMode(5, OUTPUT);
pinMode(6, OUTPUT);pinMode(7, OUTPUT);pinMode(8, OUTPUT);pinMode(9, OUTPUT);pinMode(10, OUTPUT);
pinMode(11, OUTPUT);pinMode(12, OUTPUT);pinMode(13, OUTPUT);

pinMode(0, INPUT);
}

void loop() {

static unsigned long lastTick = 0; // set up a local variable to hold the last time we moved forward one second
// (static variables are initialized once and keep their values between function calls)
// move forward one second every 1000 milliseconds

if (millis() – lastTick >= 1000) {
lastTick = millis();
second++;

}

// move forward one minute every 60 seconds
if (second >= 60) {
minute++;
second = 0; // reset seconds to zero
}

// move forward one hour every 60 minutes
if (minute >=60) {
hour++;
minute = 0; // reset minutes to zero
}

if (hour >=24) {
hour=0;
minute = 0; // reset minutes to zero
}

munit = minute%10; //sets the variable munit and hunit for the unit digits
hunit = hour%10;

ledstats = digitalRead(0);  // read input value, for setting leds off, but keeping count
if (ledstats == LOW) {

for(i=1;i<=13;i++){
digitalWrite(i, LOW);}

} else  {

//minutes units
if(munit == 1 || munit == 3 || munit == 5 || munit == 7 || munit == 9) {  digitalWrite(1, HIGH);} else {  digitalWrite(1,LOW);}
if(munit == 2 || munit == 3 || munit == 6 || munit == 7) {digitalWrite(2, HIGH);} else {digitalWrite(2,LOW);}
if(munit == 4 || munit == 5 || munit == 6 || munit == 7) {digitalWrite(3, HIGH);} else {digitalWrite(3,LOW);}
if(munit == 8 || munit == 9) {digitalWrite(4, HIGH);} else {digitalWrite(4,LOW);}

//minutes
if((minute >= 10 && minute < 20) || (minute >= 30 && minute < 40) || (minute >= 50 && minute < 60))  {digitalWrite(5, HIGH);} else {digitalWrite(5,LOW);}
if(minute >= 20 && minute < 40)  {digitalWrite(6, HIGH);} else {digitalWrite(6,LOW);}
if(minute >= 40 && minute < 60) {digitalWrite(7, HIGH);} else {digitalWrite(7,LOW);}

//hour units
if(hunit == 1 || hunit == 3 || hunit == 5 || hunit == 7 || hunit == 9) {digitalWrite(8, HIGH);} else {digitalWrite(8,LOW);}
if(hunit == 2 || hunit == 3 || hunit == 6 || hunit == 7) {digitalWrite(9, HIGH);} else {digitalWrite(9,LOW);}
if(hunit == 4 || hunit == 5 || hunit == 6 || hunit == 7) {digitalWrite(10, HIGH);} else {digitalWrite(10,LOW);}
if(hunit == 8 || hunit == 9) {digitalWrite(11, HIGH);} else {digitalWrite(11,LOW);}

//hour
if(hour >= 10 && hour < 20)  {digitalWrite(12, HIGH);} else {digitalWrite(12,LOW);}
if(hour >= 20 && hour < 24)  {digitalWrite(13, HIGH);} else {digitalWrite(13,LOW);}

}

}

My wee Camera

The Canon 20D Camera.

Historically.

Evolved from the analogue camera using a sensor rather than photosensitive film. The analogue camera itself was the result of a want to preserve images from a viewing device called the camera obscura that dates back to the 1015. Photograph associated with truth and since we have been able to we have played with and manipulated this idea.

Video, TV, all resulted from camera. Helped science due to speed.

Niepce, Fox Talbot, Daguerre.

Experientially

The interaction of the camera has ergonomically evolved so that functions are on wheels to ajust exposures, the in-camera digi display allowing the user to view, metering and SS and AP. We can see our results instantly via the LCD screen and can take as many images as we desire as long as we have enough memory.

Archeologically

The camera has evolved massively from its ancestor the camera obscura and many now redundant models have since ceased. Analogue will soon be finished with also due to technology advancing digital output quality. We are a visual culture with a need to capture events and store them as tangiable evidence. Almost symbolises memory…aids it.

Social/ Anthropologically

The camera lens itself mimics the function of the eye. The iris changes size due to the amount of light available to it, this can also be said of the camera, like the eye a large aperture is needed in low-level light to see or in the cameras case capture the scene.

The design of the camera has evolved from the camera obscura to box cameras to waist level all the way to the now popular DSLR’s and compacts we see today. This evolution of shape and size has resulted from practical needs. Transportability. Ergonomics. Previous models/ tradition.