Skip to content

Phantom8015/ApplePaint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ApplePaint

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.

Features

  • 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.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/Phantom8015/ApplePaint
  2. Open the project in Xcode:

  3. Open Xcode.

  4. When prompted, select Open existing project....

  5. Navigate to the directory where you cloned the repository and select the src folder.

  6. Click Open.

  7. Build and run the project.

Usage

Drawing

  • 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.

Undo/Redo

  • Use the backward arrow icon to undo your last action.
  • Use the forward arrow icon to redo an action you have undone.

Clearing the Canvas

  • Tap the trash icon to clear all your drawings from the canvas.

Custom Color Picker

  • Tap the palette icon to bring up the color picker and choose any color.

License

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!