Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geertjohan/gopaint
Go Paint
https://github.com/geertjohan/gopaint
Last synced: about 1 month ago
JSON representation
Go Paint
- Host: GitHub
- URL: https://github.com/geertjohan/gopaint
- Owner: GeertJohan
- Created: 2014-03-26T22:57:53.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-28T10:30:09.000Z (almost 11 years ago)
- Last Synced: 2024-10-31T07:09:50.479Z (3 months ago)
- Language: Go
- Homepage:
- Size: 2.05 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Go Paint!
Go paint is a simple server program that allows anyone to draw pixels by making an HTTP request.
The canvas is displayed in a browser, and is updated in 'real time' using a websocket.
### draw
To draw on the canvas, make an HTTP request to the server with path `/draw`.
Parameters are given as `GET` fields in the URL.
- `x`: the x position of the pixel to edit
- `y`: the y position of the pixel to edit
- `color`: the color (6 character hex) to set
- `layer`: your name, or something that identifies youThis piece of software has been build for fun and should not be used for art production.
There is no server-side persistency, please don't be mad when your Mona Lisa disappears..