Note
A pet project I built as part of a challenge. I had 48 hours to learn Lisp/Scheme (which I had never even set eyes on before) and build a Paint app using Guile (without using Racket and AI for writing code)
- Palette-based color selection in the toolbar
- 3 tools: Brush, Stamp, and Fill
- Eraser mode
- Canvas panning support
- Hotkey-based brush resizing
- Resize Brush: Hold
LeftShift+ Drag cursor left/right - Pan Canvas: Hold
Middle Click+ Drag - Toggle Erase Mode: Press
E - Tool Shortcuts:
B— BrushF— FillS— Stamp
Install these dependencies before running:
- Raylib (
sudo pacman -S raylib) - Guile (
sudo pacman -S guile)
Ensure that all dependencies from the "Dependencies" section are installed
cd Gi-Paint
chmod +x main.scm
./main.scm ⚠️ Open issues
- The fill tool is broken
- Buttons trigger not only on click, but also on hover while held down
