De Casteljau

Recently I asked Lukas Schneider (https://www.revolvertype.com/) whether he would be interested to script a small tool in Python that (live) visualizes the construction of cubic Bézier curves in one’s own type design –for educational purposes. I prefer this a little bit more than demonstrating the construction with/on an a more or less arbitrary shape. With such a tool students (and educators) can explore and demonstrate the construction using their own letter forms in their preferred font editor.



I was not surprised that Lukas almost immediately started to script. Not only do I know him as a highly talented and prolific type designer, he has also become a very experienced Python scripter.  In the past years we worked together on the LS Cadencer and Cadenculator (https://www.revolvertype.com/tools/) and also on some proprietary consistency tools for the font production.



The tool in question shows the De Casteljau’s method to construct cubic Bézier curves (one can find a lot of information about its origin and the math behind it on the web). Also it can reveal how the resolution of the contour is defined, as shown in the image above.



The De Casteljau tool is available for RoboFont and Glyphs from Github:

https://github.com/luke-snider/de-casteljau/archive/master.zip
https://github.com/luke-snider/de-casteljau-for-GlyphsApp/archive/master.zip

Installing is simply done by double-clicking on the (unzipped) extension. In Glyphs it should show up as De Casteljau in the ‘Edit’ menu and in RoboFont under the same name in the ‘Extensions’ menu.

Comments

  • Thanks Frank.
    I just quickly made a small screen recording of the tool.

     

  • It looks really amazing. I'm very curious how it works. 
  • yanoneyanone Posts: 94
    edited December 9
    The tool must be a Reporter Plugin for Glyphs. It's current implementation from a menu is very counter-intuitive to use, especially since it doesn't remember its settings.

    I don't like how the tool window stays open when not in edit mode. 
    I know that Speed Punk used to work that way, but at least the window would disappear when not used, and I've since turned it into a Reporter Plugin with the tool window hidden in the context menu.

    Otherwise it's an interesting tool to use. I'm particularly interested in seeing just the connection lines between the offcurve points ('1' button), as it helps a lot to see what's going on in the curve between them.
    So the tool is total overkill for that. It doesn't have to, if it would remember its settings.
Sign In or Register to comment.