Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not getting desired result for brush stroke #18

Open
KrLikeblue opened this issue Mar 21, 2017 · 4 comments
Open

Not getting desired result for brush stroke #18

KrLikeblue opened this issue Mar 21, 2017 · 4 comments

Comments

@KrLikeblue
Copy link

KrLikeblue commented Mar 21, 2017

Hello Adam,

It's me again. How are you ? It's been long time since I have posted an issue :)

I'm facing one issue and I am writing down.

I have taken 1 brush texture image of 64*64 pixels. Now I am drawing using that brush image, but I am not getting desired result.

It draws like all brushes, in effect all the brush images which I have used so far has same result while drawing.

I am attaching 3 images here. 1st image of what I am getting while drawing, 2nd image of result which I want and 3rd image of brush texture image.

  1. image of what I am getting while drawing
    current_result

  2. image of result which I want
    desired_result

  3. image of brush texture using which I am drawing
    brush_26

Right now I am making clone of this App: https://itunes.apple.com/us/app/drawing-desk-draw-paint-doodle-sketch-board/id588358613?mt=8

Please Please Please Please Please help me through with this, I am working on this issue for last couple of weeks but not getting anything. Your help would be really appreciated.

Waiting for your answer very very eagerly
Thanks.

@adamwulf
Copy link
Owner

One thing to try is to use a larger step width for your pen. The default Pen.m uses a step width of .5, but increasing that to 2 or 3 will soften the stroke and make it more transparent. Look at the stepWidthForStroke: delegate method.

That, combined with alpha between .5 and .8 should give you an effect much closer to what you're after.

@KrLikeblue
Copy link
Author

Thanks Adam,

I will try it..

@ghost
Copy link

ghost commented Apr 12, 2017

did it work?

@ghost
Copy link

ghost commented Jun 8, 2017

@KrLikeblue did you get it? I want the same but cannot get it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants