diff --git a/README.md b/README.md index 3fd6a6d..536a60f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ThumbAnalysis -親指の3D点群データをCSVファイルから読み込み、3Dグラフィックスで可視化するPythonプロジェクトです。 +指の時系列3D点群データをCSVファイルから読み込み、3Dグラフィックスで可視化するPythonプロジェクトです。 ## 機能 @@ -14,16 +14,7 @@ ## インストール 1. Python 3.14以上をインストールしてください。 -2. 仮想環境を作成し、アクティブ化します。 - ``` - python -m venv .venv - .venv\Scripts\activate # Windowsの場合 - ``` -3. 依存関係をインストールします。 - ``` - pip install -e . - ``` - または、uvを使用する場合: +2. 依存関係をインストールします。 ``` uv sync ``` @@ -34,6 +25,8 @@ 2. スクリプトを実行します。 ``` python main.py + または + uv run main.py ``` 3. 3Dウィンドウが開き、スライダーでフレームを切り替えられます。 diff --git a/main.py b/main.py index f6b456a..6455438 100644 --- a/main.py +++ b/main.py @@ -7,6 +7,7 @@ from matplotlib.widgets import Button, Slider from mpl_toolkits.mplot3d import proj3d +VERSION = "1.0" # Configure connections between points (list of (start_index, end_index) using 0-based indices) LINES = [ (0, 1),