How stanko/vertigo works
Key Components
Input Section:
• Raster Image Input Component
• Image Data Parser
Processing Core (Central Focus):
Two Primary Transformation Pipelines:
Dot Grid Pipeline
• Image to Dots Converter (convert-image-to-dots.ts)
• Dot Pattern Generator
Spiral Pipeline
• Image to Spiral Converter (convert-image-to-spiral.ts)
• Spiral Pattern Generator (spiral.ts)
• Line Smoothing Module (smooth-line.ts)
Utility Components:
• Helper Functions Module (helpers.ts)
• Constants Module (constants.ts)
• Demo Helpers (demo-helpers.ts)
• Random Image Generator (generate-random-image.ts)
Output Section:
• Vector Graphics Renderer
• DOM Integration Layer
Specific Design Elements
• Core Image Processing Logic
• Utility Functions
• Demo/Documentation Components
Data Flow Representation
Following flows:
• Input Image → Image Parser → Transformation Selection
• Transformation Pipeline A (Dots) → Vector Output
• Transformation Pipeline B (Spiral) → Vector Output
• Utility Functions → Both Pipelines
Technical Stack Indicators
Technology badges for:
• TypeScript (based on .ts files)
• Web Technologies (DOM integration)
• Vector Graphics Output
Documentation Integration
Connection to:
• Documentation System (docs folder)
• Example Gallery (docs/examples)