Skip navigation
OPEN SOURCE WEEK 2026 · 設立1周年記念
0:00 / 1:32

OPEN SOURCE WEEK 2026 · 設立1周年記念

KANA|東京AI映像

@KanaWorks_AI12K followers

Visit on X
307 likesDownloadOriginal post

12,887 views

OPEN SOURCE WEEK 2026 · 設立1周年記念 最終日は、いちばん好きなプロジェクトを。 Minamo、オープンソースで公開です🌊 水の上も、水の中も、その境目の「半水面」も。 ゲームエンジンもプラグインもなし。 全部ブラウザの中で動いています。 リプ欄のリンクを、手元のAIエージェントに渡すだけ👇

13 Comments

Comments from the original post on X (Twitter)

  • KANA|東京AI映像's profile picture

    @KanaWorks_AI

    ① 水面の境目 いちばん難しかったのは、カメラが水面をまたぐ「半水面」でした。 境目はピクセルごとに、水面メッシュと同じ波の関数で判定しています。 波のわずかな誤差でも、画面いっぱいに拡大されてしまうから。 水面を抜ける瞬間、境目がレンズを横切り、水の膜が流れ落ち、水滴がレンズを伝っていきます。

    6 likes

  • KANA|東京AI映像's profile picture

    @KanaWorks_AI

    ② 水の中の光 赤から先に消えていく。 光の吸収と散乱をRGBのチャンネルごとに計算し、色が分かれるコースティクスと、水面から差し込む光の筋を重ねています。 水中から見上げると、スネルの窓の中には屈折した空。 その外側には、水中が全反射で映り込みます。

    3 likes

  • KANA|東京AI映像's profile picture

    @KanaWorks_AI

    ③ 技術とオープンソース three.js WebGPU + 手書きのWGSL。 WebGPU対応のChromeで動きます。 ノートPC版RTX 4070・1080p・高画質設定で、GPU時間は1フレーム約7ms。 コードはMIT、素材はCC0。 cloneしてすぐ試せます: npm ci && npm run dev 👉

    22 likes

  • KANA|東京AI映像's profile picture

    @KanaWorks_AI

    海って、ほんとうに美しい。 すべての海好きへ。

    5 likes

  • ジョニーズエンターテイメント's profile picture

    @jonnys_enter

    すごいっ👍一瞬リゾートビジネスでも始められたのかと思いましたよ

    2 likes

  • KANA|東京AI映像's profile picture

    @KanaWorks_AI

    ありがとうございます!😆🤣🤣 いつかこんなリゾートを作れたら、招待状をお送りしますので、ぜひ遊びに来てくださいね🏝️✨

    1 like

  • Zyon ⚗️'s profile picture

    @zyonbuilds

    Checking the half-water line per pixel with the same wave function as the mesh is clever. That seam is where most water shaders fall apart. Saving this one.

    1 like

  • KANA|東京AI映像's profile picture

    @KanaWorks_AI

    Thanks! That seam was the hardest part. The camera's near plane is only ~7 cm wide, so even a tiny mismatch between the mesh and the mask gets blown up across the whole screen. Sharing one wave function was the only way to keep it clean. If you want to see it, try ?debugMask=1 🌊

  • ta4low's profile picture

    @everyemotional

    @kanaworksai 最高です!以前海原に浮かぶ船を作ってみたのですがこんなにリアルにならなかったので試してみます!ありがとうございます?、

    1 like

  • KANA|東京AI映像's profile picture

    @KanaWorks_AI

    @kanaworksai ありがとうございます!海に浮かぶ船、すてきですね🚢 パラメータは1つのファイルにまとまっているので、波の高さや荒れ具合もいろいろいじってみてください。 船が浮かんだら、ぜひ見せてください!

    2 likes

  • Isaac Johnson | RED SKIES AT DAWN's profile picture

    @zackontopx

    Looks amazing! <3

    1 like

  • KANA|東京AI映像's profile picture

    @KanaWorks_AI

    🫶🫶

  • Denni38's profile picture

    @Denni38dude

    Camera collision into water is not well handled but whatever