A browser-based drawing application with server-side session persistence and SVG export, built with a Python Flask backend and SQLite storage.
PaintZ lets users draw in the browser and persists their work server-side, tied to a session — rather than treating the canvas as purely client-side, throwaway state. The drawing can be exported as SVG for use outside the app.
- Interactive HTML5 canvas drawing interface
- Server-side session handling — canvas state is tied to the user's session, not just kept in the browser
- SVG export of the finished drawing
- Persistence layer backed by SQLite3
- Session reload
- Resume drawing
- Multiple color and brush sizes
- Undo/Redo
- Backend: Python, Flask
- Database: SQLite3
- Frontend: HTML5 Canvas, JavaScript
- Data format: SVG export
Browser (Canvas + JS)
│
│ HTTP + session cookie
▼
Flask backend
│
├── Session management
├── Drawing state → SQLite3
└── SVG export endpoint
git clone https://github.com/zaidoskate/PaintZ.git
cd PaintZ
python app.pyThen open http://localhost:5000 in your browser.
This project moved canvas state out of purely client-side JavaScript and into a real backend with persistence — which meant handling sessions, serialization of drawing data, and export formatting server-side rather than relying entirely on the browser. It was a practical exercise in treating a "frontend-feeling" feature as a full-stack problem.