Skip to content

nwafufhy/Fishing_simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fishing Simulation

项目简介

Fishing Simulation 是一个基于浏览器的钓鱼模拟器,主要模拟抛竿后铅皮下沉和鱼漂维持浮力的物理平衡状态。

核心功能

  • 抛竿物理模拟
  • 铅皮下沉动态
  • 鱼漂浮力平衡
  • 实时可视化

技术栈

  • HTML5 Canvas
  • JavaScript
  • CSS3

技术路线

  1. 物理引擎开发
    • 实现铅皮重力模拟
    • 实现鱼漂浮力计算
    • 实现水阻力模型
  2. 动画系统开发
    • 抛竿动画
    • 鱼漂动态
    • 水面波动效果
  3. 用户交互
    • 抛竿力度控制
    • 实时状态显示
    • 结果反馈
@startuml
title 钓鱼模拟器技术路线图

skinparam packageStyle rectangle
skinparam linetype ortho

package "核心模块" {
  [物理引擎] as Physics
  [动画系统] as Animation
  [用户交互] as Interaction
  
  Physics --> Animation : 提供物理数据
  Animation --> Interaction : 渲染动画效果
}

package "支持模块" {
  [UI界面] as UI
  [数据存储] as Storage
  
  UI --> Physics : 接收用户输入
  UI --> Animation : 显示动画
  UI --> Interaction : 交互反馈
  Storage --> Physics : 存储物理参数
  Storage --> Animation : 存储动画状态
}

note right of Physics
  铅皮重力
  鱼漂浮力
  水阻力
end note

note right of Animation
  抛竿动画
  鱼漂动态
  水面波动
end note

note right of Interaction
  力度控制
  状态显示
  结果反馈
end note

@enduml

运行方式

  1. 克隆本仓库
  2. 打开 index.html 文件

项目结构

Fishing_simulation/
├── index.html
├── style.css
├── main.js
└── physics.js

开发计划

  • 实现基本物理引擎
  • 添加抛竿动画
  • 完善鱼漂浮力模拟
  • 优化可视化效果

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published