Giter Club home page Giter Club logo

atsketchkit's People

Contributors

e7711bbear avatar jdanek4 avatar sam-spencer avatar tornquist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atsketchkit's Issues

Error running demo

Hi, just downloaded but having a lot of errors compiling...am I missing something? Please kindly advise..

screen shot 2016-09-09 at 19 05 12

New logo/icon proposal

Good day sir. I am a graphic designer and i am interested in designing a logo for your good project. I will be doing it as a gift for free. I just need your permission first before I begin my design. Hoping for your positive feedback. Thanks

Recognizing shapes

Hello
In the swift 3 update, you have commented out the template part and gesture recognizer delegate method are not implemented. Can you please share the code for gesture recognizing and overriding the recognized path drawing. I saw the youtube video where you showed that output.

Trying to Install this but No Framework File to Import - Swift 2

Perhaps my XCode newbe is showing today but i see the ATSketchKit directory with all the swift files in it. I was wondering can someone tell me how to compile these files into a framework for use into my current project. Can't seem to get it figured out.

I need to add this to my project but don't know how to create a framework file... Why isn't this included in the github pkg? Just curious.

screen shot 2016-03-02 at 1 32 43 pm

I added a Highlighter option to your tool!

Check it out!
The Tools Enum:
`// MARK: - Properties

public enum Tools: Int {
	case finger // Finger tool not implemented
	case pencil
    case highlighter
	case smartPencil
	case eraser
}`

The beginning of touches ended:
override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) { if self.currentTool == .finger { return } if self.currentTool == .highlighter { opacity = 0.5 } else { opacity = 1.0 } self.printTemplateSource(self.pointsBuffer)

My code seems to fix the bug as commented in the resamplePath() method

I noticed the comment FIXME in the resamplePath method. Instead of using the for-loop, I tried to use forEach on the points array, and it seems to work fine without any crash:

func resamplePath(pointsCount size: Int) -> [CGPoint] {
		var newSample = [CGPoint]()
		
//		for index in 0..<self.points.count {
//			let computedIndex = (self.points.count - 1) * index / (size - 1)
//			let newIndex = 0 < computedIndex ? computedIndex : 0
//			let newPoint = self.points[newIndex]
//			//FIXME: there is a bug here when the number of points are too big, the new index becomes way bigger than the points'count
//			newSample.append(newPoint)
//		}
        
        // here uses forEach
        self.points.forEach {
            newSample.append($0)
        }
        
        
		
		return newSample
	}

Apple Mach-O Linker (id) Error

I get the Macho-O error when I try to archive the app, everything else works fine though, no matter what I try I couldn't resolve that, Kindly help, additionally I get this warning which I believe the cause for the error.

Thanks,

ld: warning: ignoring file /Users/dev/Documents/test/ATSketchKit.framework/ATSketchKit, file was built for arm64 which is not the architecture being linked (armv7): /Users/dev/Documents/test/ATSketchKit.framework/ATSketchKit

POD Won't install

I added pod 'ATSketchKit' to my pod file and it says "Unable too find a specification for 'ATSketchKit'"

Am I Missing something??

Save draft?

I have looked but can't seem to find a way to save the drawing and load it back in for later reuse.

Say i draw something, but instead of saving it as a UIImage i want to save each layer, and load them back in later, so i can erase or keep on drawing.

Tried extracting layer.sublayers and saving it and reloading everything, but it gets f*cked.

Implement velocity to tools.

Have the line get thinner when going fast, larger when going slow.
Also eventually add an "inking" of the page when staying at the same position.

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.