PERGOLA LOGO

Window

birds.load = new pergola.Load()
.loadDocument('works/birds.svg', birds, birds.progress);
This syntax is allowed with the Load class because it is not a subclass of the Class superclass and there's no inheritance process.

Using the theme "slategray" with skin "rubber", as defined in the config file.

View as standalone SVG

var birds = new pergola.Window("Birds");
birds.build({
  x : 300,
  y : 250,
  fill : "#FFFFF0",
  menu : {
    palaeognathae : {
      ...
    },
    neognathae : {
      ...
    }
  }
});

birds.load = new pergola.Load("birds")
.loadDocument('works/birds.svg', birds, birds.progress);