# tausjakub/canine-atlas-physio architecture

> Architecture diagram of the GitHub repository tausjakub/canine-atlas-physio, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tausjakub/canine-atlas-physio
- Repository: https://github.com/tausjakub/canine-atlas-physio

## Overview

Canine Atlas is a bilingual interactive canine anatomy and physiotherapy study app. Learners enter through the main page to explore a 3D anatomy atlas or move into study and exam-preparation routes. The exam branch supports lessons, practical study, visual aids, recall quizzes, and review progress saved locally; the library and reading routes provide additional study material. The graph combines excerpted calls, SOURCE INDEX references, and README-documented capabilities; unsampled implementation details are represented only where documented.

Main entry points: [`app/page.tsx`](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/page.tsx) (App workspace), [`app/exam-study.tsx`](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-study.tsx) (Exam study hub), [`app/exam-quiz.tsx`](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-quiz.tsx) (Knowledge quizzes), [`app/scene.tsx`](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/scene.tsx) (3D scene)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App entry"]
  node_home["App workspace<br/>[page.tsx]"]
  node_locale["Language support<br/>[i18n.ts]"]
end

subgraph group_anatomy["Anatomy atlas"]
  node_scene["3D scene<br/>[scene.tsx]"]
  node_atlas["Anatomy catalogue<br/>[anatomy.ts]"]
  node_pose["Pose controls<br/>[pose-controls.tsx]"]
  node_posemodel["Pose transforms<br/>[poses.ts]"]
  node_ligaments["Ligament guides<br/>[ligaments.ts]"]
end

subgraph group_study["Study content"]
  node_notes["Piece study notes<br/>[study-notes.ts]"]
  node_challenge["Recall cards"]
  node_visuals["Visual aids<br/>[study-visuals.tsx]"]
end

subgraph group_exam["Exam preparation"]
  node_examhome["Exam study hub<br/>[exam-study.tsx]"]
  node_examcontent["Exam topics<br/>[exam-data.ts]"]
  node_examdepth["Topic detail<br/>[exam-depth.ts]"]
  node_examday["Exam-day practice<br/>[exam-day.tsx]"]
  node_practical["Practical study"]
  node_practicaldata["Practical content<br/>[practical-data.ts]"]
  node_quiz["Knowledge quizzes<br/>[exam-quiz.tsx]"]
  node_quizdata["Question bank<br/>[quiz-data.ts]"]
  node_quizengine["Quiz logic<br/>[quiz-engine.ts]"]
  node_checklist["Study progress"]
end

subgraph group_library["Reading library"]
  node_library["Study library<br/>[library.tsx]"]
  node_reading["Book reading<br/>[book-reading.tsx]"]
end

node_learner(("Learner"))

node_learner -->|"opens"| node_home
node_home -->|"renders"| node_scene
node_home -->|"offers controls"| node_pose
node_home -->|"opens study"| node_examhome
node_home -->|"opens practice"| node_practical
node_home -->|"opens library"| node_library
node_home -->|"opens reading"| node_reading
node_home -->|"translates interface"| node_locale
node_scene -->|"uses anatomy data"| node_atlas
node_scene -->|"applies poses"| node_posemodel
node_pose -->|"selects pose"| node_posemodel
node_home -->|"enables guides"| node_ligaments
node_home -->|"shows piece notes"| node_notes
node_home -->|"starts recall"| node_challenge
node_challenge -->|"links anatomy"| node_scene
node_examhome -->|"uses topic content"| node_examcontent
node_examhome -->|"opens topic detail"| node_examdepth
node_examhome -->|"opens exam day"| node_examday
node_examhome -->|"opens practical study"| node_practical
node_practical -->|"uses practical content"| node_practicaldata
node_examhome -->|"shows visual aids"| node_visuals
node_practical -->|"shows visual aids"| node_visuals
node_examhome -->|"opens quizzes"| node_quiz
node_quiz -->|"selects questions"| node_quizdata
node_quiz -->|"scores answers"| node_quizengine
node_quiz -->|"links study material"| node_notes
node_examhome -->|"tracks review"| node_checklist
node_library -->|"opens book"| node_reading

click node_home "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/page.tsx"
click node_locale "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/i18n.ts"
click node_scene "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/scene.tsx"
click node_atlas "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/anatomy.ts"
click node_pose "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/pose-controls.tsx"
click node_posemodel "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/poses.ts"
click node_ligaments "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/ligaments.ts"
click node_notes "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/study-notes.ts"
click node_challenge "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/anatomy-challenge.tsx"
click node_visuals "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/study-visuals.tsx"
click node_examhome "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-study.tsx"
click node_examcontent "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-data.ts"
click node_examdepth "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-depth.ts"
click node_examday "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-day.tsx"
click node_practical "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/practical-study.tsx"
click node_practicaldata "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/practical-data.ts"
click node_quiz "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-quiz.tsx"
click node_quizdata "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/quiz-data.ts"
click node_quizengine "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/quiz-engine.ts"
click node_checklist "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/study-checklist.tsx"
click node_library "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/library.tsx"
click node_reading "https://github.com/tausjakub/canine-atlas-physio/blob/main/app/book-reading.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_locale toneBlue
class node_scene,node_atlas,node_pose,node_posemodel,node_ligaments toneAmber
class node_notes,node_challenge,node_visuals toneMint
class node_examhome,node_examcontent,node_examdepth,node_examday,node_practical,node_practicaldata,node_quiz,node_quizdata,node_quizengine,node_checklist toneRose
class node_library,node_reading,node_learner toneIndigo
```

## Components

### App entry

- [App workspace](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/page.tsx): `app/page.tsx`
- [Language support](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/i18n.ts): `app/i18n.ts`

### Anatomy atlas

- [3D scene](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/scene.tsx): `app/scene.tsx`
- [Anatomy catalogue](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/anatomy.ts): `app/anatomy.ts`
- [Pose controls](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/pose-controls.tsx): `app/pose-controls.tsx`
- [Pose transforms](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/poses.ts): `app/poses.ts`
- [Ligament guides](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/ligaments.ts): `app/ligaments.ts`

### Study content

- [Piece study notes](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/study-notes.ts): `app/study-notes.ts`
- [Recall cards](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/anatomy-challenge.tsx): `app/anatomy-challenge.tsx`
- [Visual aids](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/study-visuals.tsx): `app/study-visuals.tsx`

### Exam preparation

- [Exam study hub](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-study.tsx): `app/exam-study.tsx`
- [Exam topics](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-data.ts): `app/exam-data.ts`
- [Topic detail](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-depth.ts): `app/exam-depth.ts`
- [Exam-day practice](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-day.tsx): `app/exam-day.tsx`
- [Practical study](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/practical-study.tsx): `app/practical-study.tsx`
- [Practical content](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/practical-data.ts): `app/practical-data.ts`
- [Knowledge quizzes](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/exam-quiz.tsx): `app/exam-quiz.tsx`
- [Question bank](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/quiz-data.ts): `app/quiz-data.ts`
- [Quiz logic](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/quiz-engine.ts): `app/quiz-engine.ts`
- [Study progress](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/study-checklist.tsx): `app/study-checklist.tsx`

### Reading library

- [Study library](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/library.tsx): `app/library.tsx`
- [Book reading](https://github.com/tausjakub/canine-atlas-physio/blob/main/app/book-reading.tsx): `app/book-reading.tsx`

### Other components

- **Learner**

## Connections

- Learner → App workspace: opens
- App workspace → 3D scene: renders (evidence: `app/page.tsx`)
- App workspace → Pose controls: offers controls (evidence: `app/page.tsx`)
- App workspace → Exam study hub: opens study (evidence: `app/page.tsx`)
- App workspace → Practical study: opens practice (evidence: `app/page.tsx`)
- App workspace → Study library: opens library (evidence: `app/page.tsx`)
- App workspace → Book reading: opens reading (evidence: `app/page.tsx`)
- App workspace → Language support: translates interface (evidence: `app/page.tsx`)
- 3D scene → Anatomy catalogue: uses anatomy data (evidence: `app/scene.tsx`)
- 3D scene → Pose transforms: applies poses (evidence: `app/scene.tsx`)
- Pose controls → Pose transforms: selects pose (evidence: `app/pose-controls.tsx`)
- App workspace → Ligament guides: enables guides (evidence: `app/page.tsx`)
- App workspace → Piece study notes: shows piece notes (evidence: `app/page.tsx`)
- App workspace → Recall cards: starts recall (evidence: `app/page.tsx`)
- Recall cards → 3D scene: links anatomy (evidence: `app/anatomy-challenge.tsx`)
- Exam study hub → Exam topics: uses topic content (evidence: `app/exam-study.tsx`)
- Exam study hub → Topic detail: opens topic detail (evidence: `app/exam-study.tsx`)
- Exam study hub → Exam-day practice: opens exam day (evidence: `app/exam-study.tsx`)
- Exam study hub → Practical study: opens practical study (evidence: `app/exam-study.tsx`)
- Practical study → Practical content: uses practical content (evidence: `app/practical-study.tsx`)
- Exam study hub → Visual aids: shows visual aids (evidence: `app/exam-study.tsx`)
- Practical study → Visual aids: shows visual aids (evidence: `app/practical-study.tsx`)
- Exam study hub → Knowledge quizzes: opens quizzes (evidence: `app/exam-study.tsx`)
- Knowledge quizzes → Question bank: selects questions
- Knowledge quizzes → Quiz logic: scores answers
- Knowledge quizzes → Piece study notes: links study material
- Exam study hub → Study progress: tracks review (evidence: `app/exam-study.tsx`)
- Study library → Book reading: opens book (evidence: `app/library.tsx`)
