このブログは過去の記事のアーカイブです。作ったものの一覧は kenkawamoto.com にまとめています。
1Click飲みRomoCartTempescope色色[:iroiro]Other Projects

2013年11月17日日曜日

Tempescopeで遊ぼう 〜その1:ジオラマを入れてみる

前から試したかったTempescopeの新しい遊び方をやってみました。

まず、鉄道模型用のジオラマ(建物コレクション 町工場C2)を買ってきます:
建物コレクションシリーズ。他にも色々な楽しいジオラマがあります。
ヨドバシで¥920、Amazonなら¥866でした。

組み立てます。
全部彩色済みなので楽々。

かっわいい。

このままだとTempescope(100mm x 100mm)に入らないので、切ります。

線を引いて切りましょう
切った。アクリルカッターでサクサク切れます。


レイアウトもちょっと調整が必要です。

「オーライオーライ!」
「お前、卒業したら東京行くんだってな」

「あなた、家に帰ってこないんですか?」「俺にはこれしかないんだよ!」


で、Tempescopeに入れます。ぴったり収まります。

かわいい。

ひたすらかわいい。

横から見てもかわいい。

後ろから見ても可愛い。

やっぱり可愛い。

雲を出してみましょう。
朝モヤっぽい。

朝から働く男達。

夕焼けにしてみましょう。
青春感あふれる感じになった。

雨を降らせてみましょう。
雨粒でかい。

でかい。

結論:
・ジオラマは箱に入れると可愛い。
・雲はアリ。
・雨はスケール感がおかしい。

もうちょっとスケールの大きいジオラマにしたら、もっと臨場感出るかもしれませんね。

2013年11月3日日曜日

(多分)一番気軽にMacからiPhoneへ文字をコピペする方法

追加アプリ無しで一番気軽に出来る方法だと思う。

(1) MacでSafariを開き、http://aaa.com/[コピペしたい文字] を開く
*404が出るが、気にしない。

(2) iPhoneでSafariを開き、ウィンドウ選択のアイコンをクリック

(3) iCloudタブから、Macでさっき開いたページを選択


(4) アドレスバーからコピーする。


逆も多分同じ。

もっと簡単な方法あったら教えてください・・・

2013年8月24日土曜日

Moving Windows, a simple way to hack the view from your room

Objectives

My personal view on living spaces is that, the single most important aspect (apart from keeping rain out, etc), is having a great view from your window.
Although the flat I live in now has a wonderful park-side view, it does lose its freshness after 3 years of living in the same place.
This is unfortunate, as most people cannot move houses every time they get bored of the view.

The "Moving Windows" project is an attempt to hack the view from your window, by dynamically projecting images onto your curtain.



The Setup

Put a wide-angle projector in your balcony.
The specs you require depend on the size of your window and balcony, but for most cases, wide-angle+brightness are two important features.
I used a BenQ MW814ST, which is fairly cheap, very wide-angle (can project a 95 inch screen from a distance of 1m), and very very bright (2500 lumens).
It is also highly critical that you do not simply leave the projector outside; build a rain proof casing, or bring the projector in after every use.  I do the latter.

Then, connect the projector to your PC and close the curtains (which are, preferably, white).

Project things


Simply project images of woodland, the beach, underwater, or whatever, and the results are quite stunning.
The slight blurring of the images due to irregularities of the surface of the curtain, and shadows created by the window frames create a net-effect of making it seem as though you are looking through lace curtains to a different world outside your room:

Living in the mountains...

or by the sea...
or under the sea...

or in Caen...

or in orbit around the Earth.


The images don't necessarily have to be sceneries- you could also create shadows to make it seem as if people are on your balcony:
"They" are here.
In the video I posted above, I've also shown how you can simulate a thunder storm.

Todos

  • I should find a way to add blurring to give images a more realistic "looking through lace curtains" effect
  • I haven't really thought about viewing positions and the FOV/viewpoint of the images.  Maybe I could use a camera+face recognition setup to dynamically change the view in the window? (like the experiment I did years ago here:


  • The effect of displaying shadows of people was unexpectedly very interesting (and scary).  There are some things I'd like to experiment here, like interacting with shadow people (eg: "Chase off the Burglar!" game)

Conclusion

Very cheap and simple, fairly promising.  Great way to brighten up a house party.

窓からの景色を好きに変えられる「どこでも窓」

■概要

リアプロでカーテンに画像を投影すれば、「カーテンの向こうは異世界」感が出せるんじゃ無いか?と思い実験してみた。


■セットアップ

ベランダに単焦点プロジェクタを設置。

今回使ったのはBenQのMW814STです。

あとはPCに繋いで、カーテンを閉めましょう。

■色々投影してみる


カーテンを閉じて部屋の中から見ると、窓の外に景色が広がっているように見えます。

部屋が三ノ塔にワープしてしまった


リゾート気分
潜水艦気分

カーンの教会を見下ろす

やつらが来た

他にも、動画を投影したり、雷を再現したりしても素敵でした。
冒頭のYoutube動画にあるので見てみてください。

2013年8月14日水曜日

満員電車を100倍楽にする「借りたい背中」

今日、混み合った電車に乗っている時に気づきました。
満員電車の辛さの半分は、本/タブレットを持つ腕の疲労であるということに。
そこで、こんなデバイスがあれば通勤が楽になるのではないか、という提案です:
借りたい背中支援装置
前の人の背中を借りて、本やタブレットを持ってもらおう、という発想です。
飛行機の座席の液晶モニタと同じです。

みんなが「借りたい背中支援装置」を背中に着けて電車に乗れば:
装着例

こんな風にタブレットを持ってもらったり:
タブレットが置ける

本を持ってもらったりできます:
本が置ける。本をさすと、自動的に明かりが灯る。超おしゃれ。

その結果、こういう世界が訪れるわけです:
借りたい背中の普及した世界 (作:mayu)

賛同いただけるという方は、是非以下の作り方を参考にしてください:

■作り方(作成時間:1時間半ぐらい)

(1) 適当に段ボールとか発砲パネルとかを切って、筐体を作る。胸バンドは、ゴムバンドを筐体にねじ止め。



(2) 回路:LED、タクトスイッチ、電池を半田付け。

(3) 筐体の底にタクトスイッチとLEDを仕込み、本がささった時に点灯するようにする
底にタクトスイッチとLED

押すと光る


(4) 完成
さぁこれを着けて旅に出よう
おしまい。

2013年6月30日日曜日

Tempescope is now open source!

A while back, I published Tempescope, an ambient physical display that simulates weather inside a little box, to make knowing tomorrow's weather as easy as looking outside the window.

I have now redesigned and published a new, open source version here:
http://tempescope.com





The major changes are:

  • the build only requires basic materials like acrylic boards and electrical components (apart from the water pump and mist diffuser)
  • the entire system is now self-contained inside the box (whereas before there was a separate shoe-box containing the circuits)
  • it takes roughly $80 to build (less than half the previous version which took $150)
The schematics and CAD diagrams, as well as the software are all available open sourced on the above website, and anyone is free to build Tempescope.
Instructions on building is also being updated daily, and we almost have complete coverage of the entire build flow.

Not too much has changed in terms of functionality.
A PC program reading weather forecasts from Wunderground controls Tempescope to simulate various kinds of weather including:
clouds,

rain and lightning,
and of course sunny weather.

You can also build all kinds of applications using the developer library, like programs that let you know the weather of whoever you're taking to on Skype!

What's inside the Tempescope

  • a shrinked Arduino ($5)
  • a 12V water pump ($2.4)
  • a 24V mist diffuser ($6)
  • and an acrylic casing (which you cut and build yourself)

I've received many e-mails after releasing the previous version asking how to build the previous Tempescope; please let me know if anyone builds the new, opensourced Tempescope!

2013年6月16日日曜日

第4回クックパッド24時間コンテスト投稿作品『冥土の電話』

■概要

6月15日(土)9:00 〜6月16日(日)9:00の間に行われた、クックパッド社主催の24時間ハッカソンに参加してきました。
お題は「年をとった自分が使うサービス」。

ここでは私と後輩の開発したサービス『冥土の電話』を紹介します。
(開発の過程や感想等は別にまとめます)

■冥土の電話とは

『冥土の電話』とは、死んだあとも大事な人たちの人生に関わり続けることを可能にするサービスです。
子供の結婚式、孫の初めてのサッカーの試合、友人が落ち込んでいる時に、こんな声をかけてあげたかった・・・。
『冥土の電話』を使えば、あなたの大切な人達の大事な瞬間に、冥土にいるあなたから電話がかかってきます。






■使い方

(1) あなた(おじいちゃん/おばあちゃん)は生前、『冥土の電話』(http://49.212.221.31:3000/)でユーザ登録をしてください。
(尚、本サービスが利用しているAPIの関係で、(6月16日現在)もうすぐサービスが勝手に使えなくなります。予めご了承ください)

(2) 大事な人たちを登録してください。
家族や友人など、死んだあとでも電話したい相手の電話番号を登録しましょう。

(3) メッセージ予約
大事な人へのメッセージを登録してください。
登録の際は、どういう条件で、誰に電話をするかを指定してもらいます。
ページ上で新たなメッセージを登録すると、あなたの電話番号にシステムから電話がかかってきます。
「ピー」という発信音のあと、大事な人へのメッセージを吹き込んでください。
このメッセージが、ページ上で指定された条件が達成されると、大事な人へ電話で送られます。


■発信条件の指定

現在実装されている送信条件は2種類、「日付指定」と「twitter指定」です。

○日付指定

特定の日(例:2013-06-15)や、パターン(例:****-06-15なら毎年の6月15日)に一致する日に電話が行われます。
例えば

  • 死んだあとも毎年奥さんへの誕生日祝いの電話をする
  • 子供の成人式の日に祝いの電話をする
  • 忘れ物をしがちな奥さんに、死んだ後も毎月の1日に家賃の振込をうながす

といった使い方ができます。

○twitter指定

指定したtwitterアカウントで、指定したキーワードが発言されたら電話が行われます。
例えば

  • 子供が疲れていたら(子供のアカウントで「疲れた」という発言があったら)応援の電話をする
  • 孫がノーベル賞を受賞したら(孫のアカウントで「ノーベル賞 受賞した」という発言があったら)祝いの電話をする
  • 株価が大暴落したら(新聞社のアカウントで「株価 暴落」を含む発言があったら)、妻に貯蓄の指示をする
  • いつもより暑い夏は(天気予報アカウントで「猛暑 例年より」を含む発言があったら)、「暑いねぇ〜」と世間話の電話を妻にする
など、多彩な使い方ができます。


○(未実装)Facebook指定

指定したFacebookのアカウントで所定の活動があった場合に、電話が行われます。
例えば、

  • 子供の婚姻状況が「独身」→「既婚」になった時に祝いの電話をする
など。

■実装概要

こんな技術を使いました:
  • Rails+Bootstrap(フロントエンド)
  • Java(バックエンドでtwitter等の解析とtwilioとの連携)
  • twilio API(プログラムから電話発信が出来るAPI。有料なため、初期課金分が尽きたら「冥土の電話」も終了します。)




是非、(サービスが動いている限り)遊んでみてください。