PikaDraw is a lightweight, cross-platform 2D drawing application built using raylib. It emphasizes simplicity, speed, and smooth brush-based drawing — making it ideal for quick sketching, digital whiteboarding, or low-latency creative work.

- 🖌️ Smooth Freehand Drawing with continuous brush stroke interpolation
- 🎨 Color Picker: Hold
Cto select from predefined color swatches - 🔁 Canvas Reset: Press
Rto instantly clear the canvas - 🔍 Zoom & Pan:
- Hold
Ctrl+ scroll to zoom - Middle mouse drag to pan
- Hold
- 🧠 Context Help: Hold
Spaceto show built-in control guide - 📸 Screenshot Export: Press
Sto save canvas as PNG with timestamp - ⚙️ Brush Preview Cursor: Always-visible pointer reflecting brush size & color
- 💡 Lightweight & Fast: Minimal dependencies, instant load, and low resource usage
| Key / Action | Function |
|---|---|
Left Click |
Draw with brush |
C (hold) |
Show color picker |
Click color |
Select brush color |
R |
Reset/clear canvas |
Shift |
Adjust brush size |
Ctrl + Scroll |
Zoom in/out |
Middle Mouse Drag |
Pan camera |
S |
Save canvas screenshot (PNG) |
Space (hold) |
Show help menu |
ESC |
Exit application |
Output files saved as
canvas_YYYY-MM-DD_HH-MM-SS.png
Download Exe for windows Provided under release section , u can use by downloading it from there without Compiling yourself.!
- C++ compiler (GCC / Clang / MSVC)
- raylib installed (v4.5+ recommended)
g++ main.cpp Canvas.cpp Brush.cpp -o PikaDraw -lraylib -lGL -lm -ldl -lpthread -lrt -lX11
./PikaDraw- 🖌️ More advanced brushes (texture, spray, gradient)
- 🖼️ Canvas resize and rescale support
- 💾 Manual save/load projects
- 🌈 HSV or palette-based color selector
- 🧠 Brush history / undo-redo
- 🪟 Export with transparent background (PNG alpha)
- Language: C++
- Framework: raylib — a minimalist C library for graphics and input
- Built with: simplicity, speed, and full offline support in mind
MIT License – use freely for personal, academic, or commercial projects.
AMAN GUPTA Inspired by simplicity. Powered by code.