# Tilt and Angle Control

## Recommended Posts

I've been trying to recreate a simple pencil brush which would utilize the Apple Pencil. I got everything already set up:

• based on a round brush
• made a nice repetitive high contrast rough paper texture for the brush texture (works wonderfully)
• stylus tilt controlling:
• the diameter of the brush (having it orthogonal to the screen produces a sharp trace, whereas tilting it makes the diameter bigger at a certain threshold)
• shape (following the same curve as the brush diameter; when non-tilted, it produces a nice round shape, tilting the pen produces a narrow/elliptical trace, again, when it goes over a certain threshold)
• stylus angle controlling:
• brush rotation (when the stylus is tilted and as it produces a narrower trace, it should rotate with the angle of the stylus)
• stylus pressure controlling:
• the hardness of the brush (if you're shading, pressing it gently will produce a nice subtle narrow trace; as you press it harder, the trace becomes more pronounced)

Now, the problem I've been having is that Affinity Photo for iPad is interpreting the stylus input controls differently than expected. Let's go over the tilt control first.

How the tilt control should work:

• having the stylus orthogonal to the screen should read value = 0%
• tilting the stylus down in any direction (any angle) should increase value > 0%
• having the stylus almost parallel to the screen should read value = 100%

How the tilt control works now:

• having the stylus orthogonal to the screen reads value = 50%
• tilting the stylus down to bottom part of the screen (parallel to it) reads value = 100%
• tilting the stylus to the left or right part of the screen (parallel to it) reads value = 50%
• tilting the stylus to the top part of the screen (parallel to it) reads value = 100%

Now let's go over the angle control of the stylus.

How the angle control should work (controlling the rotation which I think goes from 0-50%?):

• having the stylus tilted to the right part of the screen should read value = 0% (which is 0°)
• having the stylus tilted to the bottom part of the screen should read value = 12.5% (which is 90°)
• having the stylus tilted to the left part of the screen should read value = 25% (which is 180°)
• having the stylus tilted to the top part of the screen should read value = 37.5% (which is 270°)

The way how the angle is read in the current implementation is hard to describe, I'll try to make a video or an output it produces. But it definitely doesn't map the degrees of direction the stylus is tilted to the brush rotation.

##### Share on other sites

Thanks for the post. I couldn't really figure out how tilt and angle worked before reading this. It is not very intuitive, and I would prefer the way you describe as it is what I am used to. It seems that dividing these two tilt directions over tilt and angle makes it difficult to create really nice brushes, since size, for instance, need to be controlled by only one of the two. There seems to be no way of getting both directions of tilt and angle applied for any of the dynamic features of the brush.

##### Share on other sites

I completely agree with how you've suggested this should be working - in fact we were talking about the other day and we intend to change it...

##### Share on other sites

I'm glad Matt has replied to this first  I think you've raised some valid points and I'd also like to thank you for such an excellent first post - wow!

##### Share on other sites

Feels great to get acknowledgement straight from the team

One other suggestion, if you guys are seriously going to address this "feature request". Maybe have an option in the brush settings you could toggle on and off (that gets persisted along with the rest of the brush's properties) in order to keep the existing brushes backwards compatible?

With something like:

- [ ] Absolute Tilt Control (if enabled, makes it go from 0-100%; 0% when parallel, and 100% when orthogonal to the screen; disabled keeps the current behavior)

- [ ] Full Range Angle Control (if enabled, makes it go from 0-50% if rotating the tilted pencil from 0° to 360°, 0° being tilted against left side of the screen)

Also, dm me if you need extra hands (I'm an ios / cocoa engineer), would be more than happy and honored to tackle this with you.

##### Share on other sites

Do you have a date that will be done?  I can't use my custom brushes.  I've always used art studio where I had complete control of my brushes.

##### Share on other sites

Bumping this as a friendly reminder, also curious of any information regarding when we can see changes to how tilt and angle works.

I love that Affinity is available on the iPad, but this one thing is keeping me from really using it.

Keep up the good work!

##### Share on other sites

I wonder if this ever made it to the backlog?

##### Share on other sites

I’m disappointed to see that this hasn’t been fixed... this bug was filed like 6 months ago and the apple pencil support is still not correct...come on affinity team !.. I bought this JUST for its drawing capabilities and ability to mimic a nice pencil behavior with a nice tilt modifying the pencil size.... take a look at how any competitor does it.. even SketchBook got it right.. please read first comment from klemen to understand how the pencil “Tilt” should be integrated... it’s really intuitive..

please affinity team, give this bug some love, that is not a performance-related bug, it’s really a feature, and an important one for me, a show-stopper if I can’t get it to be fixed.

##### Share on other sites

Thanks affinity team !!! Last update fixed this one ! Now, apple pencil for drawing is totally usable. Cheers

##### Share on other sites

I'm sorry, I keep the occasion of this post to ask how  I can set up my brushes to change the wide of the stroke when I tilt my Apple Pencil….

I've tried in any way with various parameters, but nothing seems to change. But, reading this post, it seems to be a possile thing to do in some way.

In Procreate this feature works perfectly.

I use an iPad Pro 10,5" with Apple Pencil.

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×

×

• #### Affinity

×
• Create New...