Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h08/mnt/19116/domains/blog.emocapsule.com/html/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h08/mnt/19116/domains/blog.emocapsule.com/html/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h08/mnt/19116/domains/blog.emocapsule.com/html/wp-includes/theme.php on line 507
Emo-Capsule » 2007» May

Archive for May, 2007

Motion Text

Monday, May 28th, 2007

Sup all,

I’ve been playing around with Processing understanding its program methodoligies as it differs from the Flash programming background :). Nonetheless, I’m getting pretty comfortable with the coding and already implementing classes.

I’ve been playing around with Text in motion. (Basically its just a simple text that goes across the screen linear) but I plan to do is implement a class that will be dynamic enough to set size, get width / height values so it will be all contained. Hopefully this class will be useful in populating the environment with textural data.

I’ve also started in looking at sound as an external source for our interactive environment. There are some pretty cool open source sound libs available so I will begin to investigate them.

SenToy

Friday, May 25th, 2007

I have uploaded an article SenToyArticle.pdf. Read it if you can. The main idea is that they use a dolly and participants make it perform emotion-actions. These actions are recognized through accelerometers (placed on the doll) and then translated into character action in a game. We could simplify this and have users make the doll perform an emotion which is translated into an emotion word. Guaranteed it wouldn’t work 100% but I think it would be fun, it wouldn’t involve any kind of crazy suiting-up, and it’s already been done so it shouldn’t be impossible.

Stepmania

Friday, May 25th, 2007

Stepmania is an open source version of DDR. I play it at home with a standard PS2 dance mat (~$25 at future shop) and use a PS2 -> USB adapter (also ~$25 at video game type stores). I was thinking that the dance mat might be an interesting form of gesture-input. There are 8+ buttons on the mat and each arrow could be replaced (covered) with an emotion. I’ve read a few places that emotions can be classified as combinations of main categories of emotions. In this way, the user could jump on multiple emotions simultaneously to produce a resulting emotion, or simply step on one of the emotion categories. It would be dead simple to implement with pure processing, but I still think it might be fun. It would give kids (and probably adults too) the chance to rapidly influence the overall mood — think of someone standing on the mad repeatedly jumping on the buttons over and over and watching their mood ‘grow’ on the screen. I think it would give it more of a direct feedback/interactivity and if it turned out to be annoying or ruin the overall experience, we could always implement a delay (only one reading per minute or something).

Today I also tried playing Stepmania with accelerometers. This also works but I think might be more difficult.

TXT Update pt.1

Friday, May 25th, 2007

 The following is an update on where I am with the txting. I have a local flash program that retreives the txt from BPE, sends it to php file #1 which stores the txt into a database and displays the txt  back out on php file #1. I still need to develope the second part of the concept as to retreive the information from the database (the database is set up just as a test) via php page #2 and send it to another flash/processing file stored online to display the different txts. This will probably be done in elementry form by the end of the weekend. Once the steps are all finished and layed out I will just have to tweek the flash files and BluePhoneElite settings to make the program run cleanly and efficently. As soon as the program works in elementry form I will post my phone number, a time to send txt’s, and a link to the txt display page for testing.

 Some of the problems that I have run into and am noticing consists of the following:

  1. With the use of BluePhoneElite 1.0 the system only works with a mac.
  2. BPE gets the txt from your phone via Bluetooth. To receive a new txt a phone has to be within Bluetooth reception. This means that either we leave a phone by a computer all the time so it automatically updates the database when ever it receives a new txt (invest in a group phone either a plan or pay as you go with unlimited incomming txts) . The other option is to only post and allow txt’s  at certain times of the day or only when the installation it is on display. I feel the first option is a bit pricy but works best with the scope of the project it really deminstrates the purpose and technology aspect of SMStxting. The second option is cheaper, but it eliminates some of the purpose and awe of allowing people to submit emotions via txting.
  3. I have to play around with flash and BPE to try and prevent dialog windows/new windows from opening when a txt is received.

For the above reason, in the Google doc I wrote up yesterday I mentioned the idea of having a donate now Paypal button to help cover some of the cost of the project (ie: a phone and the plan etc…)

I have found a program from Rogers that seems to be simular to BPE but works with PC. I havn’t tried it because I run a mac but if anyone wants to test it out the link is here –>  Rogers.

I have briefly looked into SMS Gateways but they seem relativly expensive for our purpose. And am still unsure how the txt will interact with a computer and a database.

If you haven’t notices I did some research on Color theory and Emotions yesterday. It is posted in a shared Google doc.

Proposed Logo

Monday, May 21st, 2007

I’ve been working on some logos. Here is one of the proposed logos. If anyone has and suggestions, their own logo, please post them. More logos to come.
EmoCapsuleLogo_1

Current Documentation

Friday, May 18th, 2007

I decided that it may be a good idea to upload and keep track of all submitted documentation on the blog incase we need to reference them. So far we have the Project Proposal and Project Plan.

Emo Capsule Project Proposal
Project Plan

TXTing UPDATE:
Using BlueTooth and BluePhoneElite I am able to pass incomming and outgoing txt messages between my computer and phone. The next step is to get that information to automatically save into either a .txt, a XML be able to access the file content with Processing/PHP or Flash. I am currently thinking that I need to use AppleScript to save the incomming messages as the desired file type.

As well, I was talking to Eric about his yesterday, does anybody know exactly what a .plist file is, what it contains and how to read the file content?

Processing: Accelerometers: Continuous Graphing

Friday, May 18th, 2007
// Continuously Graphing Acceleration in the X, Y, and Z Axes
// Hannah Johnston
// May 2007

import procontroll.*;
import java.io.*;

ControllIO controll;

int[] xvals;
int[] yvals;
int[] bvals;
ControllSlider sliderX, sliderY, sliderZ;
float totalX = 0, totalY = 0, totalZ = 0;

void setup(){
size(400,400);
xvals = new int[width];
yvals = new int[width];
bvals = new int[width];

controll = ControllIO.getInstance(this);
controll.printDevices();

ControllDevice device = controll.getDevice(”Seng”);

println(device.getName()+” has:”);
println(” ” + device.getNumberOfSliders() + ” sliders”);
println(” ” + device.getNumberOfButtons() + ” buttons”);
println(” ” + device.getNumberOfSticks() + ” sticks”);

device.printSliders();
device.printButtons();
device.printSticks();

sliderX = device.getSlider(2);
sliderY = device.getSlider(1);
sliderZ = device.getSlider(0);

}
int arrayindex = 0;

void draw()
{
background(0);

totalX += sliderX.getValue();
totalY += sliderY.getValue();
totalZ += sliderZ.getValue();
xvals[0] = (int)(totalX)*10;
yvals[0] = (int)(totalY)*10;
bvals[0] = (int)(totalZ)*10;
noStroke();

int x = 200;
int y = 200;

x = xvals[0];
y = yvals[0];
int z = bvals[0];

fill(250);
ellipse(x, y, 50, 50);
}

Processing: Accelerometers: Colour Picker

Friday, May 18th, 2007
// Accelerometer Remote Colour Selection and Drawing
// Hannah Johnston
// May 2007

import procontroll.*;
import java.io.*;

ControllIO controll;

color userColour;
float paintX = 200;
float paintY = 200;

ControllSlider sliderX, sliderY, sliderZ;
ControllButton button0, button1;
float totalX = 0, totalY = 0, totalZ = 0;

void setup(){
size(400,400);
smooth();
background(0);
colorMode(HSB, 4);
controll = ControllIO.getInstance(this);
controll.printDevices();

Change the device name when using a different device
ControllDevice device = controll.getDevice(”Seng”);

// Using slider x, y, z to get the accelerometer value
// The slider values don’t correspond on the same scale as those used in C
// There is no calibration here yet either
sliderX = device.getSlider(2);
sliderY = device.getSlider(1);
sliderZ = device.getSlider(0);

button0 = device.getButton(0);
button1 = device.getButton(1);
}

int arrayindex = 0;

void draw()
{
float myX, myY;

// Multiplied by a fairly arbitrary value to get it into the 0-4 range
totalX = sliderX.getValue()*20;
totalY = sliderY.getValue()*15;
totalZ = sliderZ.getValue()*10;
println(” ” + totalX + ” ” + totalY + ” ” + totalZ);

float x = totalX;
float y = totalY;
float z = totalZ;

// Left Button: Draw with the current tool selection
// Hold it down when drawing
if(button0.pressed()==true){
int i=0;

myX = sliderX.getValue()*10;
myY = sliderY.getValue()*10;

paintX += myX;
paintY += myY;

fill(userColour);
ellipse(paintX, paintY, 10, 10);
println(”Painting ” + paintX + ” ” + paintY);
i++;
}

// Right Button: Clear screen (it gets messy)
else if(button1.pressed()==true){
fill(0);
rect( 0, 0, 400, 400 );
}

// No Button Press: Display the colour-picker rectangle
else{
noStroke();
userColour = color(abs(x), abs(y), abs(z));
fill(userColour);
rect(340, 340, 50, 50);
}
}

SMS TXT’in

Thursday, May 17th, 2007

Hey I found this software for connecting your bluetooth phone with your bluetooth computer. The company is called Mira Software Inc. Mira Software Inc I am going to download it when i get home and try it out. It’s $20 so its very reasonable. They say that there may be problems with my model of phone, but I will test before I buy. As well I’m sure I could just buy a cheap compatible phone for the project or what ever….

I’ll let you know how it goes.

Post Details

Tuesday, May 15th, 2007

I added Author name and date to every post so that it’s easier to figure out who to ask about certain things!