Patpus swimming with me

The assignment for ICM this week is pixels, images, videos and kinect.


The Code for this:

PImage img;
PImage imgWater;

void setup() {
img = loadImage(“platypus_s.gif”);
imgWater = loadImage(“water_shaped.png”);

for (int i =0; i < img.pixels.length; i++) { float r = red(img.pixels[i]); float g = green(img.pixels[i]); float b = blue(img.pixels[i]); float a = alpha(img.pixels[i]); if (a != 0) { img.pixels[i] = color(r, g, b, 150); } } img.updatePixels(); // Let's draw the raw location PVector v1 = tracker.getPos(); // fill(50,100,250,200); // noStroke(); // ellipse(v1.x,v1.y,20,20); image(img, v1.x -100, v1.y -100); // Let's draw the "lerped" location PVector v2 = tracker.getLerpedPos(); // fill(100,250,50,200); // noStroke(); // ellipse(v2.x,v2.y,20,20); image(img, v2.x -100, v2.y -100); imgWater.loadPixels(); for (int i = 0; i < imgWater.pixels.length; i++) { float r = red(imgWater.pixels[i]); float g = green(imgWater.pixels[i]); float b = blue(imgWater.pixels[i]); float a = alpha(imgWater.pixels[i]); if (a != 0) { imgWater.pixels[i] = color(r, g, b, 80); } } image(imgWater, -300, -100); imgWater.updatePixels();

4,469 Responses to Patpus swimming with me

  1. yoyo says:

    Hi, Neat post. There’s an issue along with your web site in internet explorer, could check this? IE still is the market chief and a huge portion of people will miss your excellent writing due to this problem.|

    • Guy says:

      Nonetheless, this time around I turned not hostile and informed
      her that I just could not afford having these remedies Each year,
      and she let me in on her key,… Obagi!

    • Leandro says:

      This organic gas continues to be known to address imperfections rashes, sun damage, pigmentation,
      eczema, and microorganisms in the skin.

  2. I purchased this chesnut old classic brief recently around this time of year. when i dispersed Brazilian body wave while using the impermeable bottle of spray and also idea it can very last, the application could not. this is are usually demolished as a result of h2o. and so you should respray frontal just before every single couple of years, youll do great 🙂

  3. bsjbvclhb says:

    Patpus swimming with me | Saki Hayashi Projects at ITP

  4. The days of purchasing advertising space and also wishing
    for the very best are lengthy gone, as this is a foolproof
    method to eat right into your profits, and also probably even make a loss.

  5. My wife and i savors such brazilian straight hair,Meet new friends significantly more different colors these days!

    • Gena says:

      C – Quence Creme is a light antioxidant rich lotion that greatly nourishes
      the look of the skin for he look of the stronger and much
      more moist complexion.

  6. comfortable brazilian straight hair but simply didn’t have which usually for sure component!!!

    • Jillian says:

      the cell return advances so it is also best for skin remedies for rough dry patches,
      brown areas and lines when it’s placed on skin vitamin A is known to advertise collagen production.

  7. 2、 “只有因地制宜。 采编:aimee 文章来源: 免责声明:本栏目发布文章目的在于传递更多信息,可能不只是季节性的物价波动, 千亿元市场从何而来?影响漆膜稳定性,蛋白质、脂肪、碳水化合物和钠等营养成分含量及营养素参考值百分比完全一致。每台仪器目录中包含了仪器的名称、型号、类型、所属单位的名称、仪器的所在地、联系人及联系电话等关键信息。一批绿色产业在巢湖岸边开花结果;鼓励创新创业。 邓国军介绍, 八是加强创新型人才培养。

  8. these are generally therefore pretty along with style! instant messaging carrying brazilian virgin hair to varsity tomorrow for your First time! i have already achieved a great many supplements!

    • Τhοught աаѕ tҺаt Ԁᥱfensе fοгсе рut tҺеіг ᴠегʏ ⲟԝn ѕеlνеѕ upοn Һіǥhеr һаzɑгⅾѕ. ӏtѕ ѕʏmρtߋmѕ cаn ɑlѕߋ Ƅе non-ᥱxіstеnt.ΕνeгуtҺіng ƅringѕ іn геgɑгⅾѕ tο tɦе ѕϲaггіng?Fееl freе to νiѕіt mү wеЬ раǥe std testing at home

    • Lilla Keys says:

      Ѕiɗe ɦas effectѕ оn haνe Ьеen rеaⅼlу грaгaⅼуѕіs, աіtһԀгаᴡal ⅼеɑɗіng tο ϲⲟnvuⅼѕiⲟns and Ƅⅼіndneѕѕ.Ηowеᴠeг, many ρеоρlе Ԁo are іn neеɗ оf tо Ԁіѕсᥙѕѕ normal ⅼіfе . tⲟ ог ⲣеrɦɑрs ߋԝn ⅼіttle оneѕ.Ⅼοοқ intⲟ mү wᥱƅ-ѕіte; sexually transmitted diseases

  9. Dear baby
    This article is so helpful for me,i like it,thank you!
    hermes h logo belt

    • Verona says:

      More than 1 Dr. advised me to scrub with Switch platinum, let dry having a supporter, not to powder and
      use brown Listerine around the weeping sore and also the meds they approved.

      • Alejandrina says:

        Even as we grow old, we drop the capacity of reproducing sufficient levels of these meats which in the end
        contributes to skin aging, and in turn contributes to the damage of healthy

    • Teresa says:

      The stratum corneum, that is the dead skin cell level that protects the skin’s outer lining, has a tendency to get
      easily abandoned with skin.

    • Vivian says:

      Coffee’s capability minimize infection and to
      tighten little bloodstream is an asset in several
      products designed to minimize black communities
      and loose skin under the eyes.

    • Tory says:

      The Argan & Peptide Wrinkle Repair Cream ($84) employs argan seed
      stem cells, and matrixyl lessen lines and to peaceful
      puffiness, collections are noticeably smoother after
      normal use.

  10. Dissatisfied who’s discolored to start with I just went through turf.Hope your soles ended up being african american, not really tans.Like you can made Brazilian Virgin Hair using a mid-heel.Need the item previously had disposable innner plancher.

  11. Surprisingly post,it is useful to me and others,please just keep it on….
    hermes belts india