{"id":15956847,"url":"https://github.com/omkaracharekar/paint-drawing-application","last_synced_at":"2026-06-19T18:32:35.026Z","repository":{"id":122030865,"uuid":"521140886","full_name":"OmkarAcharekar/Paint-Drawing-Application","owner":"OmkarAcharekar","description":"Paint Drawing Application is a simple paint tool which is similar to Microsoft  paint using C++ , OpenGL and GLUT","archived":false,"fork":false,"pushed_at":"2022-12-22T12:33:41.000Z","size":1613,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-09T04:24:59.358Z","etag":null,"topics":["cpp17","glut","opengl"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OmkarAcharekar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-04T05:54:08.000Z","updated_at":"2022-11-03T03:34:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"56b18498-53ae-4b0d-9431-ee3bbbe80ee0","html_url":"https://github.com/OmkarAcharekar/Paint-Drawing-Application","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OmkarAcharekar/Paint-Drawing-Application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmkarAcharekar%2FPaint-Drawing-Application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmkarAcharekar%2FPaint-Drawing-Application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmkarAcharekar%2FPaint-Drawing-Application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmkarAcharekar%2FPaint-Drawing-Application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OmkarAcharekar","download_url":"https://codeload.github.com/OmkarAcharekar/Paint-Drawing-Application/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmkarAcharekar%2FPaint-Drawing-Application/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34544403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp17","glut","opengl"],"created_at":"2024-10-07T13:36:16.174Z","updated_at":"2026-06-19T18:32:35.007Z","avatar_url":"https://github.com/OmkarAcharekar.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paint Drawing Application\nThis program is a simple paint tool which is similar to the Paint of Microsoft. It is written in the language C++ with OpenGL/GLUT.\n\n## Preview\n\u003cp align=\"center\"\u003e\n    \u003cimg width=\"500\" src=\"Paint.gif\"/\u003e\n\u003c/p\u003e\n\n## Controls\nUnder the folder of all resources, run the program: `make paint` or `make`.\n\n### Mouse event:\nRight click -\u003e show menu.\nLeft click -\u003e choose option.\n\n### Menu:\n1. **Colour** -\u003e You can choose Red, Green, Blue, Yellow or Random, the default color is Red.\n2. **Shapes** -\u003e The default shape is Point.\n    - Point -\u003e draw a dot at the point clicked with the mouse. Clicking and dragging will draw points constantly like free-form drawing.\n    - Line -\u003e draw a linebetween two subseauently clicked points. (Bresenham's algorithm is used here.)\n    - Rectangle -\u003e draw a rectangle with top-left corner specified by the first click and the bottom-right corner specified by a second click. If the second click is bottom-left, top-right or top-left comparing to the first click, a warning will show in the console.\n    - Circle -\u003e draw a circle centered at the position of the first click, with its radius set by a second click.\n    - Airbrush -\u003e draw multiple points as brush around the clicked point. There are four options of size.\n3. **Radical Paint Brush** -\u003e draw multiple points as brush around the centre point of the document. You can choose True or False. Only useful when shape is point. The default option is false. After choosing point in shape, it becomes False.\n4. **Eraser** -\u003e erase the points by clicking and dragging.\n5. **Undo** -\u003e undo, the history can keep maximum 20 records.\n6. **Redo** -\u003e redo, the history can keep maximum 20 records.\n7. **Clear** -\u003e clear all the points and clear the history.\n8. **Quit** -\u003e close the window.\n\n### Keyboard events:\n1. **q** or **esc** -\u003e close the window.\n2. **c** -\u003e clear all the points and clear the history.\n3. **+** -\u003e larger size of eraser or brush.\n4. **-** -\u003e smaller size of eraser or brush.\n5. **u** -\u003e undo, the history can keep maximum 20 records.\n6. **r** -\u003e redo, the history can keep maximum 20 records.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomkaracharekar%2Fpaint-drawing-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomkaracharekar%2Fpaint-drawing-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomkaracharekar%2Fpaint-drawing-application/lists"}