How mdc15/pix2d works
Pix2D is a cross-platform pixel-art, sprite, and animation editor. The main user journey is to create or open a project, edit artwork on the canvas using drawing and selection tools, organize layers and frames, then export to an image format. The graph also preserves documented effects, palettes, text, grids, plugins, and platform support. Many feature modules are represented by their exact tree paths, but their internal calls were not sampled; those links are marked dashed with no evidence path.
Main entry points: Logger.cs Logging and analytics · EditorApp.cs Application startup · SkiaCanvas.cs Canvas and viewport · ProjectService.cs Project management
Components 23
Application shell
- Application startup
Sources/Core/Pix2d.Core/EditorApp.cs - Editor UI
Sources/Core/Pix2d.Core/UI/MainView.cs
Canvas editing
- Canvas and viewport
Sources/Core/Pix2d.Core/SkiaCanvas.cs - Pixel drawing tools
Sources/Core/Pix2d.Core/Plugins/Drawing/Tools - Selection and transforms
Sources/Core/Pix2d.Core/Plugins/Drawing/Nodes/SelectionController.cs - Layer effects
Sources/Core/Pix2d.Core/Plugins/BaseEffects - Pixel text
Sources/Core/Pix2d.Core/Plugins/PixelText - Palette controls
Sources/Core/Pix2d.Core/Services/PaletteService.cs
Project and animation
- Project management
Sources/Core/Pix2d.Core/Services/Project/ProjectService.cs - Sprite and layers
Sources/Core/Pix2d.Core/Plugins/Sprite - Frame animation
Sources/Core/Pix2d.Core/UI/Animation - Editor state
Sources/Core/Pix2d.Shared/State/AppState.cs
Import and export
- Image and project import
Sources/Core/Pix2d.Core/Services/Import - Image format plugins
Sources/Core/Pix2d.Core/Plugins/ImageFormats - Export service
Sources/Core/Pix2d.Core/Services/ExportService.cs
Platform and services
- Application settings
Sources/Core/Pix2d.Core/Services/AppSettings.cs - Platform services
Sources/Core/Pix2d.Shared/Abstract/Services/IPlatformStuffService.cs - Logging and analytics
Sources/Core/Pix2d.Infrastructure/Logger/Logger.cs - Log targets
Sources/Core/Pix2d.Core/Logging - Review prompts
Sources/Core/Pix2d.Core/Services/ReviewService.cs
Other components
- Artist
- Usage stats backend
- Crash reporting service
Connections 24
- Artist → Application startup: starts
- Application startup → Editor UI: loads UI
Sources/Core/Pix2d.Core/EditorApp.cs - Artist → Editor UI: uses editor
README.md - Editor UI → Canvas and viewport: edits artwork
README.md - Canvas and viewport → Pixel drawing tools: draws pixels
README.md - Canvas and viewport → Selection and transforms: selects pixels
- Artist → Project management: creates or opens
README.md - Project management → Sprite and layers: edits sprites
- Sprite and layers → Frame animation: animates frames
README.md - Project management → Editor state: tracks project state
- Artist → Image and project import: imports artwork
- Image and project import → Image format plugins: uses format handlers
- Artist → Export service: requests export
README.md - Export service → Image format plugins: exports formats
README.md - Artist → Layer effects: applies effects
README.md - Artist → Pixel text: adds text
README.md - Artist → Palette controls: adjusts palette
README.md - Artist → Application settings: sets preferences
- Application startup → Platform services: uses platform services
Sources/Core/Pix2d.Core/EditorApp.cs - Logging and analytics → Log targets: dispatches entries
Sources/Core/Pix2d.Infrastructure/Logger/Logger.cs - Logging and analytics → Usage stats backend: sends usage events
README.md - Logging and analytics → Crash reporting service: forwards fatal crashes
README.md - Artist → Review prompts: responds to prompts
- Review prompts → Application settings: reads and writes
Sources/Core/Pix2d.Core/Services/ReviewService.cs