Giter Site home page Giter Site logo

smooth-drawing's Introduction

Sample drawing: Purpose

Smooth drawing is a sample project showing exactly how to create a nice and smooth drawing application, it draws nice anti-aliased lines and the feel is really natural, you can read about it's creation at: http://www.merowing.info/2012/04/drawing-smooth-lines-with-cocos2d-ios-inspired-by-paper/ I decided to create this after finding out that there isn't really a complete solution released and many people try to make something like that but fail at some point.

I hope you like it, spread the word so that more people will be able to learn / use this.

Follow me on twitter

ARC Compatibility

Project uses ARC, I put all the code inside LineDrawer class ( don't worry it's only ~500 lines ) so that you can just add -fobjc-arc on this class in non-ARC projects.

Spread the word and read my blog post about this project to learn more.

Building

This project now uses Cocos2d as a submodule. Cocos2d itself uses submodules now as well. Do not forget to git submodule update --init --recursive

smooth-drawing's People

Contributors

joostvanderborg avatar kaolin avatar mbustamanteo avatar ramshandilya avatar

Watchers

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