Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

nagomi

Nagomi is an interactive, procedurally animated koi pond that runs in your browser. The fish swim on their own, change depth, react to nearby fish, and gather around the water when you click or tap. Ripples, currents, lotus leaves, changing weather, and optional river sounds help the pond feel alive.

The fish are not following a recorded animation. Instead, each fish uses a few simple rules to decide where to swim, how quickly to turn, and how its body and tail should bend. The program calculates these movements continuously while you watch. This is called procedural animation: behavior is created in real time rather than played from a fixed video or set of frames.

New to procedural animation? Read How Nagomi works.

https://github.com/user-attachments/assets/34549f7d-41cf-4cf6-af0a-95074bc631d2

Run

npm install
npm run dev

Build

npm run build
npm run preview

Tune

Edit src/config.ts to change fish counts and sizes, koi colors, water colors, lotus leaves, flowers, and shadow strength.

Controls

  • Click or tap to call the fish.
  • Press Space to scatter them.
  • Press [ or ] to change the fish count.
  • Press D to show the procedural spine.
  • Press H to hide the interface.
  • Press R to reset the simulation.

关于 About

Interactive, procedurally animated koi pond that runs in your browser.

语言 Languages

TypeScript93.5%
CSS5.8%
HTML0.7%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
33
Total Commits
峰值: 21次/周
Less
More

核心贡献者 Contributors