Skip to content
loksufPublic

About

Minimal paint program on Lisp/Scheme Guile + Raylib

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

44 Commits

Folders and files

Repository files navigation

Gi-Paint

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)

🔮 Features

  • Palette-based color selection in the toolbar
  • 3 tools: Brush, Stamp, and Fill
  • Eraser mode
  • Canvas panning support
  • Hotkey-based brush resizing

🎛️ Controls

  • Resize Brush: Hold LeftShift + Drag cursor left/right
  • Pan Canvas: Hold Middle Click + Drag
  • Toggle Erase Mode: Press E
  • Tool Shortcuts:
    • B — Brush
    • F — Fill
    • S — Stamp

📦 Dependencies

Install these dependencies before running:

  • Raylib (sudo pacman -S raylib)
  • Guile (sudo pacman -S guile)

🚀 Run

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

About

Minimal paint program on Lisp/Scheme Guile + Raylib

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages