omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. HT
    3. Topics

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 19
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by HT

    • HT

      Make drawing only possible on top of old path
      Pythonista • • HT

      8
      0
      Votes
      8
      Posts
      4044
      Views

      HT

      @JonB This is the link to my github code, sorry it's very messy:
      https://github.com/HenningTm/drawing_touchpad
      The .xlsx file in the repository contains the point coordinates for the shape and is redrawn in lines 474-489.

    • HT

      Creating touch location variables
      Pythonista • • HT

      3
      0
      Votes
      3
      Posts
      2100
      Views

      HT

      Works perfectly, thanks!

    • HT

      Smoothing out drawn lines
      Pythonista • drawing curves • • HT

      4
      0
      Votes
      4
      Posts
      2495
      Views

      JonB

      you have to thin out your points... one way would be to filter data in touch_moved to only register motions larger than X pixels, or that occur after a long delay. then you would use a bezier arc to connect.

      you have to compute the control points yourself, which may be non trivial.

    • HT

      Undo last line drawn
      Pythonista • drawing • • HT

      9
      0
      Votes
      9
      Posts
      5554
      Views

      HT

      You are right, the problem was, that I drew each little line as a path individually. Now that I create one big path and draw it once, it works. Thanks!

    • HT

      Best method to transfer data to PC
      Pythonista • data transfer • • HT

      6
      0
      Votes
      6
      Posts
      3835
      Views

      scofficial

      Hey,
      There are many other ways to send data to your pc, the one I particularly prefer is uploading the data to a drive and downloading it on the required device. You may also try FTP server. However, the easiest method would be to use different applications that send songs, images to devices using wifi like ShareIt. You could also use the inbuilt bluetooth in your devices, if it is available. Try transferring https://sc-downloader.net/ songs with above mentioned ways to know which one is best suited for your device.

    • HT

      Toggling between drawing freely and straight lines
      Pythonista • image draw • • HT

      5
      0
      Votes
      5
      Posts
      3618
      Views

      JonB

      For what it's worth, one of my many abandoned projects, a "pen tool"
      https://gist.github.com/2d9e24f31f471f629d56912ead624538

    • HT

      Saving painted image as matrix
      Pythonista • image • • HT

      5
      0
      Votes
      5
      Posts
      3292
      Views

      HT

      That looks perfect. Thanks a lot!