タグ

Flashとuiに関するzazhengのブックマーク (2)

  • 習作UI: 縁日の金魚を再現してみた

    Flashでプログラムを書く機会があったら一度は作らねばと思っていたのが、鳥や魚の群れ(flock)のシミュレーション。そこでカスタムクラスのプログラミングの練習も兼ねて作ったのがこれ。アルゴリズムそのものは、良く知られた(1)仲間と同じ方向に泳ごうとする気持ち、(2)仲間と一緒に泳ごうとする気持ち、(3)衝突を避ける気持ち、をそれぞれの魚に持たせて泳ぐ方向を少しずつ変化させる、というものである。 プログラムはそれほど時間をかけずに作ることができたのだが、苦労したのがそういった「気持ち」の部分を表現するのに必用な具体的なパラメーター(どのくらい離れた仲間まで認識しているか、どのくらいの距離までの接近を許すか、など)を見つけ出す部分。金魚すくいの水槽の中の金魚の動きをちょうど良い感じで再現するためのパラメーターを見つけるのにかなりの試行錯誤が必要であった。 しかし、これを作って思ったのは、F

  • Flash Earth ...satellite and aerial imagery of the Earth in Flash

    Zoom Earth is an interactive weather map of the world. Explore the current weather and see forecasts for your location through interactive maps of rain, wind, temperature, pressure, and more. With Zoom Earth you can track the development of hurricanes and storms, monitor wildfires and smoke, and stay aware of the latest conditions by viewing satellite imagery and rain radar updated in near real‑ti

    Flash Earth ...satellite and aerial imagery of the Earth in Flash
  • 1