How amannji/mindmorph works
Main Components Identification
The system should be divided into these primary components:
a) Presentation Layer
• Views (SwiftUI-based)
• View Models
• Components (Reusable UI elements)
b) Core Features
• Brain Visualization (SceneKit)
• Experiment System
• Anatomy Information
c) Data Model
• Brain State Management
• Action Processing
• Neurotransmitter System
┌─ Views Layer ─────────────────────┐
• WelcomeView ContentView │
• AnatomyView ExperimentView │
• InfoView ResultView │
• ┬────────────────────┘
• ↓
┌─ Components Layer ─────────────────┐
• CardView CodeActionTab │
• CodeBlockCell ProgressView │
• SelectedBlockCell │
• ┬────────────────────┘
• ↓
┌─ View Models ──────────────────────┐
• CodeViewModel │
• SceneConfigurator │
• ┬────────────────────┘
• ↓
┌─ Models ────────────────────────────┐
• Brain Action │
• Anatomy Levels │
• Amount ExperimentResult │
• NeuroTrasmitterInfo │
• ┬────────────────────┘
┌─ Resources ──────────────────────────┐
• 3D Models (.scn) │
• Images │
• ┘
Important Elements
• Blue: UI Components
• Green: Business Logic
• Yellow: Data Models
• Gray: Resources
• Specific notations for:
• SwiftUI views (⚛️)
• SceneKit components (🎮)
• Data models (📦)
Technical Stack Indicators
• SwiftUI
• SceneKit
• Swift Package Manager
• Apple Frameworks used