/SlickPainter

Slick Painter is a tool for runtime drawing in Unity, written in C#.

Primary LanguageC#MIT LicenseMIT

Slick Painter

Version: 0.3.0 [CHANGELOG]

Slick Painter is a tool for runtime drawing in Unity, written in C#.

Main features:

  • drawing and erasing using brushes
    • circular brush with hardness property
    • stamp brush
  • support for alpha and non-alpha backgrounds
  • bilinear image scaling
  • easily extendable brushes, blend modes and image scaling implementations
  • undo/redo support
  • interpolation of painting between frames

Roadmap:

  • undo/redo [added in alpha 0.2.0]
  • mouse path drawing interpolation (drawing brushes in places where mouse wasn't in provided frame, especially useful for low framerates, but not only) [added in alpha 0.3.0]
  • support for layers (per layer blend modes, individual moving, scaling, etc.)
  • text support

How to install

Just put SlickPainter folder in your assets and you should be good to go. Demo scene shows main features of the system and how you can use the API.

It should work with any recent Unity version, but while creating, I was using Unity 2019.4.8f1 and 2020.1.16f1.

Examples

Demo Scene Demo Scene

Made only using circular brush: Example 2 Example 1