Pixl is a minimalist graphics library built on SDL2, focusing exclusively on pixel-level rendering operations. Unlike higher-level graphics libraries, Pixl provides direct pixel manipulation capabilities while abstracting away SDL2's complexity.
circle-drawer.webm
Just simple mouse event tracking + using layered render to display ui and drawings separately.
The library's fundamental approach is to work directly with pixels, providing:
- Raw pixel buffer management
- Multiple layer compositing
- Pixel-by-pixel shape rendering
- No texture or sprite operations - everything is rendered pixel by pixel
- Pure Pixel Operations: All rendering is done at the pixel level
- Multi-Layer System: Up to 5 independent pixel layers with alpha compositing
- Shape Primitives: Basic shapes (like lines and circles) implemented through pixel-perfect algorithms
- Custom Framebuffer: Direct pixel buffer manipulation separate from SDL's renderer
- Vector Math: Basic 2D vector operations for pixel calculations
- SDL2 (only used for window management and final buffer presentation)