ApplePaint is a simple, interactive drawing app built using SwiftUI. It allows users to create drawings using various colors, line widths, and even erase their work. The app includes an easy-to-use interface with intuitive touch gestures for drawing, undoing, and redoing actions. Users can also pick colors using a color picker and adjust the line thickness to suit their preferences.
- Drawing: Draw freehand using touch gestures.
- Color Palette: Choose from a variety of preset colors or select a custom color using the color picker.
- Eraser: Toggle between drawing and erasing.
- Line Width: Adjust the thickness of the drawing lines.
- Undo/Redo: Easily undo and redo your drawing actions.
- Clear All: Remove all drawings from the canvas.
- Intuitive Interface: Easy-to-use interface with color swatches, undo/redo buttons, and more.
-
Clone this repository to your local machine:
git clone https://github.com/Phantom8015/ApplePaint
-
Open the project in Xcode:
-
Open Xcode.
-
When prompted, select
Open existing project...
. -
Navigate to the directory where you cloned the repository and select the
src
folder. -
Click
Open
. -
Build and run the project.
- Use your mouse or trackpad (or touch gestures on a device) to draw on the canvas.
- Select a color by tapping on one of the color circles at the bottom.
- Adjust the line thickness using the "scribble" icon.
- Tap the eraser icon to switch between drawing and erasing modes.
- Use the backward arrow icon to undo your last action.
- Use the forward arrow icon to redo an action you have undone.
- Tap the trash icon to clear all your drawings from the canvas.
- Tap the palette icon to bring up the color picker and choose any color.
This project is licensed under a Proprietary License - see the LICENSE file for details.
ApplePaint provides a great way to experiment with simple drawing mechanics on iOS/macOS. Enjoy creating beautiful sketches or doodles!