Geomerative Tutorial

This is an introductory step by step tutorial for using the Geomerative Library. It includes basic information about the function of various methods and classes within the library and should be of particular help to graphic designers and artists who wish to work with fonts and text. All sketches provided have full comments explaining important aspects of the library. The tutorial sketches are also accompanied by a separate folder which includes a selection of examples. These examples were created during our workshops and present original ideas from our participants.

All the necessary files with a written tutorial can be downloaded from the following link :
Geomerative Tutorial_01

The Geomerative Library was developed by Ricard Marxer and can be downloaded at the following address : http://www.ricardmarxer.com/geomerative/

Your feedback would be much appreciated. We would like to improve and add to this first edition of tutorials, so if you have suggestions, code examples or would simply like to support us, please get in touch : info@freeartbureau.org

Comments
7 Responses to “Geomerative Tutorial”
  1. Scott Murray says:

    Fantastic array of examples. Great work!

  2. Alessandro says:

    Thank you very much!
    Your tutorial is really well made.
    It gave me an idea of Geomerative classes interaction (something I couldn’t get reading the reference documentation).
    Alessandro, Italy

  3. jud says:

    Thank you so much for the wonderful tutorials! I’ve been learning processing by myself and most books don’t really explain about this geomerative lib. This is really helpful!

  4. Stephen says:

    I’m using Geomerative to map points on a TTF font to generate g-code for engraving on an Arduino-driven CNC machine. Is there a way to determine whether a point belongs to an specific character or not? When I plot the points I end up with a line between the last point on one character and the first point of the next, or between the outline and an inner line. For g-code I need these lines, but will have to change the Z coordinate to lift the CNC head and drop it again for the next character. Is there a way to distinguish between characters when mapped to an array using :

    RGroup myGroup = font.toGroup(myText);
    myGroup = myGroup.toPolygonGroup();

    RPoint[] myPoints = myGroup.getPoints();

    • mark webster says:

      Hi Stephen,

      I suggest you post your question to the Processing Forum : https://forum.processing.org/
      It depends on how you are drawing the outline of the letters. To close each letter you need to draw using bezier and create a little distance value to calculate distance between each point :

      beginShape();
      for (int i=0; i float d = dist(pnts[i].x, pnts[i].y, pnts[i+1].x,pnts[i+1].y);
      if (d > 50) continue;
      bezier(pnts[i].x, pnts[i].y,pnts[i].x, pnts[i].y,pnts[i].x, pnts[i].y,pnts[i+1].x, pnts[i+1].y);
      }
      endShape();

      This is not the most elegant of solutions and so I do suggest you post to the forum.

      All the best

      Mark

Trackbacks
Check out what others are saying...


Leave A Comment

Social Media

FAB Association

FAB is a non-profit organization dedicated to artists & designers working with code and open source tools in their creative process. http://www.freeartbureau.org