Final for ICM

My final project for ICM is designing system for PCom project

My PhyCom Final Project, Smart Architectural Toy is a collection of architectural units to play around by placing the units on a grid, a board.

I: It is said that the first chess was created by a monk in order to stop starting a war by the king who loved starting a war[1]. Chess was a tool to simulate a real world, and also a tactile tool for ‘thinking’ which have iconic elements on the figures.

KnightsTemplarPlayingChess1283_s

II: An artist, also an architect, Guy Debord led Situationist International created a battle game called Game of War. He recreated the rules of the battle and applied spacial elements in the figures.

game_of_war_01

game_of_war_05

III: One of the interesting points of chess can be its figure. It changes story of the board, giving cultural interpretation of a story of the game.  Up to our modern times, creators have made a number of different sorts of figures. Once they place skylines of two cities, it starts a dialogue between two cities as well as enjoying the game. If the figures comprise interior features, it starts a spacial argument. It’s ‘s spacial conversation’ of the two players.

find-chess-set-web_s

chess001

VI: My proposal is to create a smart architectural toy which allows to make a conversation between the two players in distance with time gap even by the same player as well as allowing the players to develop spacial language.

proposal_01_web_05

proposal_01_web_12

V: It will connect the players’ coincidental story behind making ‘a space which contains a number of narration in generating the combinations’.

proposal_01_web_09

VI:  The players make conversations for past and future by accidentally make the same combinations as the past. Suddenly, it becomes ‘a key’ to open a memory container of their experiences with the toy, their friends, the places.

The ongoing ICM project will be the system and concept design of this idea.

The CODES(middle of organising them.., sorry for this ugly code) NOTE, the code’saveStrings does not seem working…to pass the values to MySQL…I need a help! It does not seem Processing can do HTTP request?

ArrayList <Rect> rects = new ArrayList<Rect>();
ArrayList <Grid> grids = new ArrayList<Grid>();

TableGrid[] tableGrids;

int totalRects = 20;
int gridNum = 9;
int gridpos = 150;
int[] grids_csv = new int[18];
int[] numGrids = new int[18];
//String[] tileNameG = new String[20];
int rowCount;

int idR;
int idG;

int[] idR_table = new int[9];
int[] pastComb;
String[] tileNameG = {“floor”,”chair”,”table”,”wall”,”window”};
Table table;

void setup() {
size(610, 610);

for (int i=0; i<idR_table.length; i++) {
idR_table[i] = -1;
}

for (int i=0; i<grids_csv.length; i++) {
grids_csv[i] = 01;
rowCount = 0;
table = new Table();
table.addColumn(“g” + grids_csv[i]);
}

for (int i=0; i<numGrids.length; i++) {
numGrids[i] = 01;
}

//—————units—————
for (int i=0; i<totalRects/4; i++) {
rects.add(new Rect(i*60+35, height-120, 50, i, 0, tileNameG[0]));
}

for (int i=totalRects/4; i<totalRects/4*2; i++) {
rects.add(new Rect(i*60+35, height-120, 50, i, 0, tileNameG[1]));
}

for (int i=totalRects/4*2; i <totalRects/4*3; i++) {
rects.add(new Rect((i -totalRects/2)*60+35, height-60, 50, i, 0, tileNameG[2]));
}
for (int i=totalRects/4*3; i <totalRects; i++) {
rects.add(new Rect((i -totalRects/2)*60+35, height-60, 50, i, 0, tileNameG[3]));
}

//—————grids—————
for (int j=0; j < gridNum/3; j++) {
grids.add(new Grid(j*50+width/2 -50, gridpos, 50, j));
}
for (int j=gridNum/3; j < gridNum/3*2; j++) {
grids.add(new Grid((j -gridNum/3)*50+width/2 -50, gridpos+50, 50, j));
}
for (int j=gridNum/3*2; j < gridNum; j++) {
grids.add(new Grid((j -gridNum/3*2)*50+width/2 -50, gridpos+50*2, 50, j));
}

//—————loadPastData—————
table = loadTable(“http://www.sakihayashi.net/commlab_web/csv_sample.php”, “header,csv”);

table = loadTable(“usertest.csv”, “header”);
rowCount = table.getRowCount();
tableGrids = new TableGrid[rowCount];

int counter = 0;
for (TableRow row : table.rows()) {
tableGrids[counter] = new TableGrid();
tableGrids[counter].loadComb(row.getInt(“g01”), row.getInt(“g02”), row.getInt(“g03”), row.getInt(“g04”), row.getInt(“g05”), row.getInt(“g06”), row.getInt(“g07”), row.getInt(“g08”), row.getInt(“g09”));

counter++;
}
}
void draw() {
background(255);
textAlign(CENTER, CENTER);
textSize(20);
fill(150);
text(“press space key to save”, width/2, 40);

for (int i = 0; i< rects.size(); i++) {
Rect r = rects.get(i);
r.idR = i;
r.display();
}
for (int j = 0; j< grids.size(); j++) {
Grid g = grids.get(j);
g.display();
g.magnet();
fill(0);
textSize(10);
text(g.gridID()+1, g.gx, g.gy);
}
String a = “g” + grids_csv[0];
// println(a);

}

//—————move tiles—————
void mousePressed() {
for (int i=0; i< rects.size(); i++) {
rects.get(i).selected();
}
}

void mouseDragged() {
for (int i=0; i<rects.size(); i++) {
if (rects.get(i).selected) {
rects.get(i).move();
}
}
}

//—————Check the combinations and pass the ID data to keyPressed—————
void checkComb() {
for (int i=0; i<rects.size(); i++) {
for (int j=0; j<grids.size(); j++) {
Rect r = rects.get(i);
Grid g = grids.get(j);

if ((grids.get(0).gx -r.x ==0) && (grids.get(0).gy -r.y ==0)) {
idR_table[0] = i;
}
if ((grids.get(1).gx -r.x ==0) && (grids.get(1).gy -r.y ==0)) {
idR_table[1] = i;
}
if ((grids.get(2).gx -r.x ==0) && (grids.get(2).gy -r.y ==0)) {
idR_table[2] = i;
}
if ((grids.get(3).gx -r.x ==0) && (grids.get(3).gy -r.y ==0)) {
idR_table[3] = i;
}
if ((grids.get(4).gx -r.x ==0) && (grids.get(4).gy -r.y ==0)) {
idR_table[4] = i;
}
if ((grids.get(5).gx -r.x ==0) && (grids.get(5).gy -r.y ==0)) {
idR_table[5] = i;
}
if ((grids.get(6).gx -r.x ==0) && (grids.get(6).gy -r.y ==0)) {
idR_table[6] = i;
}
if ((grids.get(7).gx -r.x ==0) && (grids.get(7).gy -r.y ==0)) {
idR_table[7] = i;
}
if ((grids.get(8).gx -r.x ==0) && (grids.get(8).gy -r.y ==0)) {
idR_table[8] = i;
}
}
}
}

 

void findPastComb() {

for (TableRow row : table.rows()) {
for (int ii=0; ii<rects.size(); ii++) {
if ((row.getInt(“g01”) == idR_table[0]+1)&&(row.getInt(“g02”) == idR_table[1]+1)&&(row.getInt(“g03”) == idR_table[2]+1)&&(row.getInt(“g04”) == idR_table[3]+1)&&(row.getInt(“g05”) == idR_table[4]+1)&&(row.getInt(“g06”) == idR_table[5]+1)&&(row.getInt(“g07”) == idR_table[6]+1)&&(row.getInt(“g08”) == idR_table[7]+1)&&(row.getInt(“g09”) == idR_table[8]+1)) {

rects.get(ii).c = 255;
}
}
}
}

//—————save + read the data to CSV sheet—————
void keyPressed() {
if (key == ‘ ‘) {
checkComb();
findPastComb();

TableRow newRow = table.addRow();
newRow.setInt(“g01”, idR_table[0]+1);
newRow.setInt(“g02”, idR_table[1]+1);
newRow.setInt(“g03”, idR_table[2]+1);
newRow.setInt(“g04”, idR_table[3]+1);
newRow.setInt(“g05”, idR_table[4]+1);
newRow.setInt(“g06”, idR_table[5]+1);
newRow.setInt(“g07”, idR_table[6]+1);
newRow.setInt(“g08”, idR_table[7]+1);
newRow.setInt(“g09”, idR_table[8]+1);

saveTable(table, “data/usertest.csv”);

String url = “http://www.sakihayashi.net/commlab_web/save_csvdata.php?”;
url = url + “g01=” + (idR_table[0]+1);
url = url + “&g02=” + (idR_table[1]+1);
url = url + “&g03=” + (idR_table[2]+1);
url = url + “&g04=” + (idR_table[3]+1);
url = url + “&g05=” + (idR_table[4]+1);
url = url + “&g06=” + (idR_table[5]+1);
url = url + “&g07=” + (idR_table[6]+1);
url = url + “&g08=” + (idR_table[7]+1);
url = url + “&g09=” + (idR_table[8]+1);

String[] stuff = split(url, ‘ ‘);
saveStrings(url, stuff);

 

println(url);
}

if (key == ‘s’) {
for (int i=0; i<rects.size(); i++) {
rects.get(i).c = 0;
}
}

for (int i=0; i<rects.size(); i++) {
Rect r = rects.get(i);

if (r.selected == true) {
if (key == ‘a’) {
r.angle = r.angle +PI/2;
r.c = +50;
// if(
println(r.angle +PI/2);
}
}
}
}

 

//—————returning all the data to the initial value—————
void keyReleased() {
if (key ==’ ‘) {
for (int i=0; i<idR_table.length; i++) {
idR_table[i] = -1;
}
}
}

class Grid {
int gx;
int gy;
int size;
int idG;

boolean onGrid;

Grid(int _gx, int _gy, int _size, int _idG) {
gx = _gx;
gy = _gy;
size = _size;
idG = _idG;
onGrid = false;

rectMode(CENTER);
}

void display() {
strokeWeight(4);
stroke(150);
noFill();
rect(gx, gy, size, size);
}

int gridID() {
return idG;
}

void magnet() {
for (int i=0; i<rects.size(); i++) {
Rect targetRect = rects.get(i);
int tx = targetRect.x;
int ty = targetRect.y;

if ((abs(ty – gy) < 15) && (abs(tx – gx) < 15)) {
targetRect.x = gx;
targetRect.y = gy;

onGrid = true;
}
}
}

}

class Rect {
int x;
int y;
int size;
int idR;
int c;
float angle =0;
boolean selected;
boolean mouseOver;
String tileName;

Rect(int _x, int _y, int _size, int _idR, int _c, String _tileName) {

x = _x;
y = _y;
size = _size;
idR = _idR;
c = _c;
selected = false;
mouseOver = false;
rectMode(CENTER);
tileName = _tileName;
}

void display() {
stroke(150);
fill(random(c), random(c), random(c));
strokeWeight(1);
pushMatrix();
translate(x, y);
rotate(angle);
rect(0, 0, size, size);
fill(255);
textSize(10);

text(tileName, 0, 0);

popMatrix();
}

 

void move() {
x = mouseX ;
y = mouseY ;
}

void selected() {
if (dist(x, y, mouseX, mouseY) < size/2) {
selected = true;
}
else {
selected = false;
}
}

int rectID() {
return idR;
}
}

class TableGrid{
int g01;
int g02;
int g03;
int g04;
int g05;
int g06;
int g07;
int g08;
int g09;

void loadComb(int _g01, int _g02, int _g03, int _g04, int _g05, int _g06, int _g07, int _g08, int _g09){

g01 =_g01;
g02 =_g02;
g03 =_g03;
g04 =_g04;
g05 =_g05;
g06 =_g06;
g07 =_g07;
g08 =_g08;
g09 =_g09;;

}
}

4,331 Responses to Final for ICM

  1. Very nice post. I just stumbled upon your blog and wanted to say that I have truly enjoyed browsing your weblog posts. After all I will be subscribing on your rss feed and I’m hoping you write once more very soon!

  2. quest Bars says:

    Thankfulness to my father who told me about this website,
    this website is actually remarkable.

    • Lane says:

      You might want to utilize the fade treatment twice
      a-day, then wash it off using a mild cosmetic soap including Neutrogena clear facial
      club Employ the fade product each morning, and then clean off it.

  3. quest bars says:

    You should take part in a contest for one of the greatest websites on the web.
    I’m going to highly recommend this site!

  4. quest bars says:

    each time i used to read smaller articles that as well clear their motive, and that is
    also happening with this article which I am reading
    now.

  5. Gil Kosorog says:

    I will be a junior in high school in a month when college starts and I want to start looking at institutions. I have always been really interested in creative writing and novels. What are good quality schools for the? I also want to study philosophy… Thanks!.

    • Aurelio says:

      Beneficial, skin-tightening elements include an amazing variation of retinol- organizations the skin by rejuvenating it
      and enhancing collagen, based on the College of Maryland Infirmary -and soy-protein,
      plus coffee that is shrinking and moisturizing Shorea robusta butter.

  6. yoyo says:

    wonderful points altogether, you just received a logo new reader. What may you recommend in regards to your put up that you simply made a few days ago? Any sure?|
    yoyo http://jsdflkjsdflkjlk.net

  7. Dedra says:

    It Help: Sweetie for acne spot-treatment is mostly effective
    for those with greasy skin as it is a natural humectants.

  8. use says:

    It’s a” weight loss and melting ready the fat stores in order for those individuals eating the right. Likewise, for Pyridorin, the idea, whatever you want to gain weight.

  9. Concentrate on direct mail aimed at your target market and assess
    just what the senders’ objectives were, the telephone calls to
    action, graphics, etc

  10. Therese says:

    Individuals with delicate skin might want to talk to their dermatologist before employing
    any product with glycolic acid, as even though it
    is among the finest acne spot treatment substances accessible,
    it might trigger negative effects including peeling, inflammation, and other tenderness that will
    impede the healing of one’s acne.

  11. Xavier says:

    After cleaning your-face, you then will notice how clear and gentle your face feel and look, but be sure to
    rinse your face without hard cleaning.

  12. These Brazilian body wave https://www.youtube.com/watch?v=pDemw0wW1UQ are so lovable ! Naturally i attract these items pretty much everywhere! My partner and i indicate in every location! …you will receive too much attentiveness! 🙂

  13. More innovative options will help your direct-mail advertising to attract
    attention, such as a cut-out image of your item or
    logo design, designed postcards, perfumed mail
    and cutting-edge envelopes.

  14. So a big poster could give you an excellent first influence,
    however after a couple of seconds the style should be the one to bring the viewers along.

  15. We integrate paper direct-mail advertising with our web presence to prompt ongoing passion making use of
    unique landing web pages certain per direct mail piece as well as routinely make use of sales letters to produce leads.

  16. Dolly says:

    Professionally, I actually don’t actually use these
    as area treatments, but rub them thinly throughout my encounter as being a preventive measure as opposed until a pimple
    shows up to waiting. You will find two I would propose, one salicylic acid and one peroxide.

    • Ada says:

      Previously, there was that a well known compound found in the aesthetic industry to treat sun places
      and dim places is Hydroquinone.

  17. Wilbur says:

    In addition it changes color to point that the treatment is completed, which can be type
    of fun!

  18. Consuelo says:

    This LED light therapy system that is blue operates to eliminate acne germs that are causing straight for
    the source using energy.

  19. Nell says:

    Your system may ultimately transform to the stage where acne is not any longer more likely to arise as the majority
    of acne is genetically in hormonally induced.

  20. Teddy says:

    This treatment that is popular has become a massage goto for
    women around the world who want, feet that are easier that are softer.

  21. Calvin says:

    Sunscreen is just a necessity during cure to disappear black marks
    and it is employed though the dark markings are diminishing/passed.

  22. Sal says:

    Many ladies have found that their outbreaks were not much
    more when they were going to non- makeup.

  23. Jeff says:

    If you would like to after you clean that person as opposed to a
    lotion you can easily utilize this once aday. Simply roll some on numerous aspects of your-face (face, cheeks, brow, etc) and after that along with your hands
    apply the oil all over your face softly maintain rubbing lightly (like your supplying that person a pleasant relaxing massage) and soon you
    believe that there’s no further dead skin to remove.

  24. Hello there! I could have sworn I’ve been to this blog
    before but after browsing through some of the post I
    realized it’s new to me. Nonetheless, I’m definitely delighted I found it and I’ll
    be book-marking and checking back frequently!

  25. Maggie says:

    Pustules and papules will be the main wounds, and illness is restricted to the face.

  26. Israel says:

    These parts of the human body are extremely susceptible since they
    have the highest concentrations of glands, to acne.

  27. Layla says:

    I like the valuable info you supply in your articles.
    I will bookmark your weblog and test again rijght here regularly.

    I’m rather sure I’ll be told many new stuff proper right here!
    Best of luck for the following!

  28. Gabriele says:

    Thanks for the good writeup. It if truth be told used to be a entertainment account it.

    Look complicated to far brought agreeable from you!
    By the way, how could we keep in touch?

  29. You Brat may be the thing the little sister-in-law’s related asked i am at the time your girl recognised individual silvery 2 wheel bluetooth self balancing electric scooter http://www.aliexpress.com/store/group/8inch-Hover-Board/1950023_505167005.html! She shown admiration for each of these mens roshe http://www.aliexpress.com/store/group/Running-Shoes/1950023_506594089.html each time this woman watched these individuals within Opra. Now that they features looked upon these individuals head to head, this lady tells you a new sequined african american is probably your girl intending to demand on her behalf following birthday. I get plenty about oohs and furthermore awes whenever When i draw them all

  30. ighjbbqdii says:

    Final for ICM | Saki Hayashi Projects at ITP
    ighjbbqdii http://www.gi581q4w65mfnhqyw7gx43641nm74q24s.org/
    aighjbbqdii
    [url=http://www.gi581q4w65mfnhqyw7gx43641nm74q24s.org/]uighjbbqdii[/url]

    • shop author says:

      Binary Options in Canada falls under the Unique Alternative We were asked by our many visitors to examine in to the policies.

    • From trading charts and possession details, traders who have Binary Choice Robotic as their broker will delight in these and much more technical tools to allow them have the best trading experience they can have.Stop by my web site; binre optionen strategie (http://sonicsoultattoo.de)

    • TradeRush – Traderush offers a large range of assets and deposit methods and their user experience is well considered and intuitive.Here is my weblog :: infection graduate

    • Reta Herbert says:

      Fіrst of alⅼ I աοᥙlɗ ⅼіҝе to ѕay tеггіfіc Ьlοɡ!Ι һad ɑ quicҝ qᥙᥱѕtіоn tһаt I’ɗ lіке to aѕҝ іf үߋᥙ ɗοn’t mind.Ⅰ ԝɑѕ іnterеstᥱԁ tօ кnoա Һοw yߋս сᥱntег үߋuгѕеlf and clеаг yоսг mind ⲣгіօг tο ԝгіting.Ӏ һavᥱ ɦаⅾ ⅾіffіcultу сⅼeаrіng my mіnd іn gᥱttіng mү tһоuցҺtѕ out. I trᥙlү ԁо taкe ⲣlеasuге іn ѡrіtіng Ƅսt it jᥙѕt ѕеᥱmѕ lіҝᥱ tҺе fігѕt 10 tߋ 15 mіnuteѕ tend tߋ Ƅе ѡɑstеⅾ jսst tгүіng tօ fіgᥙгe oսt һօѡ tⲟ ƅеǥіn. Any ѕuɡɡеѕtiⲟns oг tірs?Ꮇany tһankѕ!Aⅼѕο νiѕіt mʏ ᴡеƄ Ƅlоǥ:ᴠіɗеο.aƄіetеh.cоm (Brock)

    • Stockpair is one of the Oldest and Major Broker in the Binary Options Industry with best Platform and fastest payments.my web site – franchise eighth

    • Lucio Krauss says:

      Nevertheless, we have actually made the process a lot easier for you; we have looked into, attempted and validated the brokers in our advised list to be real and effective.my site; pollution urge

    • Lucy Munday says:

      I lovеԀ as muсɦ aѕ yoս’ll геcеіve caггіeԁ oսt rіǥҺt ɦeге.Tɦе ѕқеtϲһ іѕ tɑѕtᥱful, yоսг autɦогеɗ mаteгiɑⅼ ѕtуⅼіѕh.nonethеlеѕѕ, ʏoս cоmmаnd ɡеt gоt an іmρatіᥱnce оvᥱг tһɑt yоu ѡіsҺ Ьe ɗеⅼіνегing tɦе fօlⅼοաіng.սnwеll unquᥱstіⲟnablү comᥱ mοге fⲟгmегlʏ aɡаіn ɑѕ eхactⅼʏ tҺe samе neагly a lоt ⲟftеn іnsіɗе ϲaѕe үοᥙ sɦіеⅼd tһіѕ іncгeaѕе.Ɍеѵіeѡ mу ѕіtе ::gunmaгt.net – Lettie

    • Keeping all this in mind one can not negate the requirement of a correct method to trade utilizing these types of options.Here is my blog estimate furniture page

    • Even though a bit high-risk, you must try this technique,too, because after all getting used with taking threat belongs of your trading job, as well.Feel free to visit my web blog: onto vanish

  31. read more says:

    I’m really enjoying the theme/design of your site. Do you ever run into any browser compatibility problems? A small number of my blog audience have complained about my website not working correctly in Explorer but looks great in Firefox. Do you have any ideas to help fix this problem?|
    read more

  32. Oscar says:

    I used to be suggested this blog by my cousin. I am now not positive whether this
    publish is written by way of him as no one else recognise such targeted approximately
    my problem. You’re incredible! Thank you!

  33. Hans says:

    Good post. I learn something new and challenging on blogs I stumbleupon on a daily basis.
    It will always be interesting to read through articles
    from other authors and use something from their sites.

  34. Seeker lectured in New York City in November at StreamCon, a new conference for
    digital content producers, about why toddler-aimed unboxing videos are solid
    business.

  35. Helene says:

    This is very interesting, You’re a verty skilled blogger.
    I’ve joined your feed andd look forward to seeking more of your mazgnificent post.

    Also, I have shared your web site in my social networks!

  36. Bprint.It says:

    I every time spent my half an hoour to read this website’s posts every day along with a cup of coffee.

  37. The largest danger to your SEO campaign is forgeting the customer and overthinking SEO as a lock-step, standard job.

  38. read more says:

    This is a topic that’s near to my heart… Best wishes! Where are your contact details though?|
    read more

  39. It’s wonderful that you are getting thoughts ftom this post as well as from our discussion made at this time.

  40. Wow that was odd. I just wrote an extremely long comment but
    after I clicked submit my comment didn’t show up. Grrrr…
    well I’m not writing all that over again. Regardless, just wanted to say excellent blog!

  41. Jestine says:

    Amazing blog! Is your theme custom made or did
    you download iit from somewhere? A theme like yours with a few simple tweeks would really make my blog
    jump out. Please let me know where yyou got your theme.

    Many thanks