Repository navigation
paintboard 0.1.0
First release. Paintboard is a local, offline drawing board in one C file. It draws through GLFW and OpenGL, stores a board in a single binary file, and never touches the network.
What it does
- Pen, line, arrow, rectangle, ellipse, and text.
- Select one item, shift click to add more, or drag a box around a group.
- Move a selection, and resize it with corner handles.
- Copy, cut, paste, duplicate, undo, and redo.
- Eight stroke colors and eight fill colors.
- Dot grid with optional snapping, plus pan and zoom on an infinite canvas.
- Export the visible canvas to PNG.
- Inter and Excalifont are compiled into the binary, so there is no font setup.
Install
nix run github:0xPD33/paintboard
nix profile install github:0xPD33/paintboardFrom source you need GLFW 3.4 or newer, an OpenGL library, pkg-config, and a compiler with C23 #embed. GCC 15 or Clang 19 are new enough.
make
sudo make installmake install also writes the desktop entry and the icons.
See the README for the full key list and ARCHITECTURE.md for the design notes.