https://github.com/phantom8015/applepaint
A macOS version of MSpaint
https://github.com/phantom8015/applepaint
apple mac macos mspaint swift swiftui
Last synced: about 1 year ago
JSON representation
A macOS version of MSpaint
- Host: GitHub
- URL: https://github.com/phantom8015/applepaint
- Owner: Phantom8015
- License: other
- Created: 2025-01-05T22:23:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-30T23:33:23.000Z (about 1 year ago)
- Last Synced: 2025-05-05T23:16:02.625Z (about 1 year ago)
- Topics: apple, mac, macos, mspaint, swift, swiftui
- Language: Swift
- Homepage:
- Size: 23.7 MB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
ApplePaint
ApplePaint is a simple, interactive drawing app built using SwiftUI. Users can create drawings with various colors, line widths, and an eraser tool. The intuitive interface supports touch gestures for drawing, undoing, and redoing actions.
## Features
- **Drawing**: Freehand drawing.
- **Color Palette**: Select from preset colors or use a custom color picker.
- **Eraser**: Switch between drawing and erasing.
- **Line Width**: Adjustable line thickness.
- **Undo/Redo**: Effortless action reversal.
- **Clear All**: Reset the canvas.
- **Saving & Loading**: Save as PNG, JPEG, TIFF, or ApplePaint's `.paint` format.
- **Open Saved Canvases**: Load `.paint` files for continued editing.
- **User-Friendly UI**: Simple controls with color swatches, undo/redo buttons, and more.
## Installation
1. Clone the repository:
```bash
git clone https://github.com/Phantom8015/ApplePaint
```
2. Open the project in Xcode:
- Open Xcode and select `Open existing project...`.
- Navigate to the cloned directory and select the `src` folder.
- Click `Open`.
3. Build and run the project.
## Usage
### Drawing
- Use mouse, trackpad, or touch gestures to draw.
- Pick a color by clicking a color circle.
- Adjust line thickness with the "scribble" icon.
- Use the eraser icon to switch modes.
### Undo/Redo
- Click the backward arrow for undo.
- Click the forward arrow for redo.
### Clearing the Canvas
- Click the trash icon to erase all drawings.
### Saving & Exporting
- Click **Save** to store your artwork.
- Available formats:
- PNG (.png)
- JPEG (.jpeg)
- TIFF (.tiff)
- ApplePaint Canvas (.paint)
### Opening a `.paint` File
- Click **Open** and select a `.paint` file.
- Resume editing with all settings intact.
### Keyboard Shortcuts
#### Drawing Tools
- ⌘ Z - Undo
- ⌘ ⇧ Z - Redo
- ⌘ E - Toggle Eraser
- ⌘ ⇧ C - Clear All
#### Color Management
- ⌘ F - Open Custom Color Panel
- ⌥ 1-5 - Pick Color (1-5)
- ⌥ R - Remove Color
#### Line Thickness
- ⇧ 1-10 - Choose Thickness (1-10)
#### Window Management
- ⌘ 1 - Show Canvas
- ⌘ 2 - Show Color Panel
#### Canvas Size
- `⌘ +` - Enlarge Canvas
- `⌘ -` - Shrink Canvas
#### Saving & Loading
- ⌘ S - Save as `.paint`
- ⌘ O - Open `.paint`
- ⌘ P - Save as `.png`
- ⌘ T - Save as `.tiff`
- ⌘ J - Save as `.jpeg`
## License
Licensed under a Proprietary License - see the [LICENSE](https://github.com/Phantom8015/ApplePaint/blob/main/LICENSE.md) file for details.
---
ApplePaint makes drawing simple and fun on macOS. Enjoy creating!