A simple pixel editor built using Odin programming language and raylib.
- Pencil
- Eraser
- Fill bucket - currently fills whole canvas
- Adobe Photoshop-like color switching
- Custom canvas sizes
- Zoom in/out
- Export image
| Name | Keymap | Mouse |
|---|---|---|
| Draw | - | Left Button |
| Pencil | P | - |
| Eraser | E | - |
| Fill bucket | B | - |
| Switch foreground and background colors | X | - |
| Reset foreground and background colors | D | - |
| Zoom in/out | - | Wheel Up & Down |
| Save image | Ctrl + S | - |
- Setup Odin language following the steps in Getting Started page
- Clone the repository
git clone -r https://github.com/tosekk/odin-pixel-editor - Run either the build or run command
odin run . odin build . - You are ready to go!