geomerative, svg and vertex

Hey there,

I'm trying to use processing for some design-drafts in university. I'm pretty new to processing, so I'm not an expert in it... I found several scripts and combined them as I want to use them. But in the end it's not working and I don't know why... First of all here is my sketch:

import geomerative.*;

RShape myForm;

void setup() {
  size(148*4 , 210*4);
  myForm = RG.loadShape("typo.svg");
  myForm = RG.centerIn(myForm, g, 100);

void draw() {

  translate(width/2, height/2);

  RPoint[] points = myForm.getPoints();

  for ( int i = 0; i < points.length; i++ ) {
    vertex(points[i].x, points[i].y);


If I use ellipse(points[i].x, points[i].y, 1, 1); in the end it's working perfect, but with a vertex it's not working. I only got it working with "RFont", but I need to import an .svg because I need to keep the design I already made in InDesign...

Attached is an image of what it should look like, but if I render my actual sketch (with the "typo.svg" in the "data-folder") it just shows a white screen...

Any suggestions?

Thank you very much! :)



  • Moved to library questions.

    Also don't hit C button then paste the code. Paste the code, select it then hit the C button.

Sign In or Register to comment.