How evildmp/brachiograph works
Main Components
A. Hardware Layer:
• Raspberry Pi Zero (central controller)
• Three servo motors
• Physical components (arms, pen mechanism)
• Power supply system
B. Software Components:
• Core Plotter Logic (brachiograph.py)
• Movement Control System (plotter.py)
• Drawing Utilities:
• Line drawing processor (linedraw.py)
• Turtle plotter simulator (turtle_plotter.py)
• Hardware Abstractions:
• Pen control (pen.py)
• Servo management (bg.py, bgt.py)
┌─────────────── Application Layer ───────────────┐
• Drawing Utilities │ Plotting Interface │
• Line Processing │ - Turtle Simulator │
• Image Processing │ - Pattern Generation │
• ┘
• ↕
┌─────────────── Core Logic Layer ──────────────┐
• Geometry Calculations │
• Coordinate Transformations │
• Movement Planning │
• ┘
• ↕
┌─────────────── Hardware Control Layer ────────┐
• Servo Control │
• Pen Mechanism │
• Calibration Management │
• ┘
• ↕
┌─────────────── Physical Layer ───────────────┐
• Raspberry Pi Zero │
• Servo Motors │
• Mechanical Arms │
• Power Supply │
• ┘
Key Relationships to Highlight
• Data flow from image input through processing to physical movement
• Control signals from core logic to hardware
• Feedback mechanisms from hardware to software
• Calibration and configuration paths
Implementation Details
• Maintain consistent spacing and alignment
• Version information
• Clear labels for all components