GithubHelp home page GithubHelp logo

nick7o / slickpainter Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 2.51 MB

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

License: MIT License

C# 100.00%
drawing brushes unity painting

slickpainter's Introduction

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

slickpainter's People

Contributors

nick7o avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.