Git Product home page Git Product logo

draw-lib's Introduction

draw-lib

Draw tries to mimic AS3 Graphics API but is powered by Starling. Was heavily ported from the Graphics implementation in PixiJS. And, although I do not recommend it for production use, the code wasn't tested enough and is unoptimized, it seems to work fine for simple vector shapes in my testings.


Donation

Support draw-lib via Paypal

Donate via PayPal

IDE Software provided by JetBrains

Jetbrains


Getting Started

The code in this repo contains a IntellijIdea project with 2 projects modules:

  • draw_demos
  • draw_lib

You can get a precompiled binary for Draw inside /draw_lib/bin-release/draw_lib.swc, but the Intellij project uses Build Configurations dependencies to run the samples.

Prerequisites

Intellij and some version of AdobeSDK compatible with Starling v2.5.1

API and demos.

Considere the API very similar to the AS3 Graphics one.

I didn't have the time to write documentation (or code comments), but 90% of the code was ported from PixiJS, so check their docs.

demos screenshots

demo 1 demo 2 demo 3 demo 4 demo 5 demo 7 demo 8 demo 9 demo 10 demo 11

Contributing

That's why I setup this repo! So, use pull request.

You can also buy me a coffee.

Authors

  • Rodrigo Lopez - Initial work - roipeker

Acknowledgments

License

This project is licensed under the MIT License - see the LICENSE file for details

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.