Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/666rayen999/paint
Web Paint App built in rust using macroquad
https://github.com/666rayen999/paint
macroquad paint rust wasm webapp
Last synced: 18 days ago
JSON representation
Web Paint App built in rust using macroquad
- Host: GitHub
- URL: https://github.com/666rayen999/paint
- Owner: 666rayen999
- License: mit
- Created: 2024-09-15T23:39:44.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-15T23:51:26.000Z (4 months ago)
- Last Synced: 2024-10-30T06:14:09.330Z (2 months ago)
- Topics: macroquad, paint, rust, wasm, webapp
- Language: Rust
- Homepage: https://paynt.netlify.app/
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Paynt - Web Paint App
This is a simple paint application built using the [macroquad](https://macroquad.rs/) game framework in Rust, and compiled to WebAssembly (Wasm) for the web. The app allows users to draw shapes like lines, rectangles, and ellipses directly in the browser.
### Features
- **Draw Freehand**: Hold down the mouse button to draw freely on the canvas.
- **Draw Shapes**: You can draw lines, rectangles, and ellipses.
- **Clear Canvas**: Clear the canvas by pressing the `C` key.
- **Responsive Canvas**: Works directly in the browser with full responsiveness.### Controls
- Press `L` to switch to **Line** drawing mode.
- Press `R` to switch to **Rectangle** drawing mode.
- Press `E` to switch to **Ellipse** drawing mode.
- Press `P` to switch to **Freehand** drawing mode.
- Press `C` to **Clear** the canvas.### Usage
You can open it here: [Paynt](https://paynt.netlify.app/)
Or download the source code and compile it
```sh
git clone https://github.com/666rayen999/paint
cd paint
cargo r -r
```