Skip to content

666rayen999/paint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paynt - Web Paint App

This is a simple paint application built using the macroquad 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

Or download the source code and compile it

git clone https://github.com/666rayen999/paint
cd paint
cargo r -r

Releases

No releases published

Packages

No packages published

Languages