Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Solved
    • Unsolved
    • Search
    1. Home
    2. General Discussion
    Log in to post

    General Discussion

    • mrrouge

      SOLVED determine centerpoint in irregular rectangle / create "composition"
      geometry • • mrrouge  

      5
      0
      Votes
      5
      Posts
      355
      Views

      mrrouge

      thanks @}->--
    • mrrouge

      SOLVED Hi can somebody help me randomize shapes within a loop ?
      randomness • • mrrouge  

      3
      0
      Votes
      3
      Posts
      302
      Views

      mrrouge

      Cool thanks for your help ! Iam really struggling to find the right information in the reference
    • ThunderNixon

      SOLVED Update font family in FormattedString
      text • • ThunderNixon  

      2
      0
      Votes
      2
      Posts
      303
      Views

      frederik

      Setting a font in a formatted string will only be used for text appended afterwards: txt.font(...) will not alter the font attribute for existing texts in the formatted string. For each page you will need to create a fresh formatted string.
    • mrrouge

      SOLVED Moving Anchor point of a Primitive to its middle ?
      transformations geometry • • mrrouge  

      3
      0
      Votes
      3
      Posts
      346
      Views

      mrrouge

      thanks a lot
    • Maarten Idema

      SOLVED Using a virtualenv in Drawbot
      modules drawbot as module • • Maarten Idema  

      12
      0
      Votes
      12
      Posts
      3573
      Views

      justvanrossum

      Oh, I've been trapped by a bot it seems Still, my answer may be useful
    • geancarle

      SOLVED which fonts compatible with variations?
      variable fonts • • geancarle  

      3
      0
      Votes
      3
      Posts
      378
      Views

      gferreira

      hi. see also v-fonts.com
    • FutureDays

      SOLVED Entering Font Properties into Existing Python Code
      animation text • • FutureDays  

      3
      0
      Votes
      3
      Posts
      462
      Views

      FutureDays

      Hello, Once again, thank you for being so helpful. Enjoy the day. Best. Robert
    • micahmicah

      SOLVED Plot objects along a path
      bezierpath • • micahmicah  

      3
      0
      Votes
      3
      Posts
      444
      Views

      micahmicah

      @gferreira wondrful! Thank you so much!
    • micahmicah

      This topic is deleted!
      • micahmicah  

      2
      0
      Votes
      2
      Posts
      2
      Views
    • jb

      UNSOLVED Create forms in PDF
      • jb  

      2
      0
      Votes
      2
      Posts
      308
      Views

      frederik

      so far there is no support for any kind of forms.
    • fooness

      SOLVED Animate in Drawbot, without exporting .gif …
      animation • • fooness  

      7
      0
      Votes
      7
      Posts
      1077
      Views

      andyclymer

      While I'm working on an animation I run the script once to save the .gif file to the disk, then I select the file and hit the space bar to open it in Quick Look to preview the animation. I leave this preview window open in the Finder while I continue to work on editing the script in DrawBot — every time the file gets updated with a newly saved .gif it will automatically start previewing the new version. Kind of a strange technique but it works!
    • dyb

      SOLVED BezierPath: Contours and Segments
      bezierpath • • dyb  

      5
      0
      Votes
      5
      Posts
      546
      Views

      dyb

      I was comparing a different fonts apparently, my bad.The paths are indeed going the right way.
    • FutureDays

      SOLVED Changing Squares to Five Point Stars with JVR Code
      animation geometry • • FutureDays  

      6
      0
      Votes
      6
      Posts
      707
      Views

      FutureDays

      @gferreira Hello gferreira, Thank you so much the reply has been very helpful. I can see that I was thinking too much about modifying all areas of the code instead of changing a small component. Enjoy the day. Best. Robert
    • MishaHeesakkers

      SOLVED When exporting a large amount of frames is there a possibility to track the duration of this process?
      animation • • MishaHeesakkers  

      5
      0
      Votes
      5
      Posts
      633
      Views

      frederik

      oh, there is indeed no progress callback on saveImage(..) Doing some googling on 'progress' and 'ffmpeg' does not results in a clear solution. DrawBot has a small wrapper around ffmpeg to generate movies: see https://github.com/typemytype/drawbot/blob/master/drawBot/context/tools/mp4Tools.py
    • MishaHeesakkers

      SOLVED Are there any tutorials on how to build Drawbot python files via Sublime?
      drawbot as module • • MishaHeesakkers  

      4
      0
      Votes
      4
      Posts
      526
      Views

      gferreira

      @MishaHeesakkers animated gifs can be viewed with a browser. see this example
    • brintown

      SOLVED Masking
      clipping • • brintown  

      4
      0
      Votes
      4
      Posts
      522
      Views

      brintown

      thanks @frederik and @gferreira for the helpful hints!
    • micahmicah

      SOLVED Typographic white space?
      text • • micahmicah  

      3
      0
      Votes
      3
      Posts
      511
      Views

      micahmicah

      @frederik wonderful! Thank you!
    • MauriceMeilleur

      SOLVED while()
      • MauriceMeilleur  

      4
      0
      Votes
      4
      Posts
      939
      Views

      frederik

      see also http://pythonfordesigners.com/how-to-keep-doing-things-until-you-need-to/ http://robofont.com/documentation/building-tools/python/collections-loops/#while-loops
    • pixelman

      SOLVED change number to count number 1, 2 or 3
      • pixelman  

      2
      0
      Votes
      2
      Posts
      492
      Views

      gferreira

      @pixelman you can add a counter to the inner loop using enumerate: for n, words in enumerate([words1, words2, words3], start=1): if i < len(words): resultWords.append('-'+ str(n) +'-'+ words[i])
    • snaders

      SOLVED Add fontVariation to text drawn in bezierPath?
      bezierpath variable fonts • • snaders  

      6
      0
      Votes
      6
      Posts
      2002
      Views

      frederik

      super! really cool project!
    Drawing With Python