Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8672831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:18:03+00:00 2026-06-12T19:18:03+00:00

I have been developing line drawing apps that produce lines such as these: I

  • 0

I have been developing line drawing apps that produce lines such as these:

enter image description here

I really want to draw lines such as these:

enter image description here

I dont know what technique is used to produce the lines that look like brushwork.

I would appreciate advice, or redirection to a post that looks at this question. I’ve looked for an hour. I dont know the terminology to ask the right question..

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T19:18:04+00:00Added an answer on June 12, 2026 at 7:18 pm

    You have two problems you need to solve:

    1. How to determine the width of the line to be drawn
    2. Drawing the appropriate width line

    Ideally you would want pressure information from the user’s finger to know how wide the line should be. The harder the user presses, the fatter the line. However, the capacitive touch devices that run iOS don’t have the ability to get this information. So your next option is to use some algorithm based on how fast the user is moving their finger on the screen. Slow movement may mean fatter lines and fast movement may mean thinner lines. Or the reverse, depends on what you want to achieve.

    Drawing the appropriate width line has many options depending on whether your app is using OpenGL. Mainly, I would look at using a small anti-aliased circle image that is used to paint into a pixel buffer. Scale the image appropriately to paint sections of the line at varying widths. This part of your question has a lot of options so you may want to ask it as a separate question while also including details of whether you’re using OpenGL, Core Graphics or something else.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been developing the application for drawing, and I have the problem: my
I have been developing the application for drawing and I need to detect double
I have been developing the application for drawing, and there is the code: public
I have been developing the application for drawing and I have some problems: the
I have been developing the application, and I need that drawingg is executed in
I have been developing the application for drawing, and there is the following code
I'm developing a live wallpaper, and I have a problem that has been bugging
I have a Pyramid app that I've been developing and viewing locally through http://localhost:6543
I am developing a Firefox extension that uses XSL transformations. I have been using
I have been developing our php based site on a development box that was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.