Pied De Poule Programs by Loe Feijs
From this page, the following items are offered:
- Three processing programs and four bitmap files produced by them
- One Mathematica program and nine compass logo scripts to be read by it
- One Logo program
The programs are all written by Loe Feijs of TU/e in 2010-2012.
They can be freely used or modified for artistic purposes and teaching purposes related to creative programming and creative mathematics.
The programs are given without warranty.
Neither the author nor TU/e will accept any claims related to any of these programs.
The main purpose was to explore pied-de-pouple, see the article by Feijs in Bridges 2012.
Some explanation follows.
- pieddepoule (save as pieddepoule.pde)
is for Processing, for example Processing1.1, see www.processing.org, which is free for download and open source.
The program builds-up a pied-de-poule pattern dynamically, using a matrix representation.
When you want to run this, create a folder named pieddepoule and put the file pieddepoule.pde inside it.
Play by changing the matrix. The main purpose is to explore pied-de-pouple, see the article by Feijs in Bridges 2012.
- pieddepouleFORMULE (save as pieddepouleFORMULE.pde)
is for Processing too (as previous item).
The program builds-up a pied-de-poule pattern using the idea of a compact formula.
Inside the program source there is a rich collection of compact formulas.
This collection includes pied-de-poules (houndstooth), Pepita patterns, and herringbone patterns.
As a default it makes pied-de-poules, but by removing some comment-signs, one of the other patterns can be acticated instead.
For background information and pied-de-poule theory, see the see the article by Feijs in Bridges 2012.
- pieddepouleFORMULEfiling (save as pieddepouleFORMULEfiling.pde)
is like pieddepouleFORMULE.pde, but produces output to file.
The program is interactive: hit the spacebar and it produces the pied-de-poule for N=1, which is the puppytooth or windmill.
Hitting arrow-up or arrow-down changes N.
The program tries to save the frame under names such as VGR1.bmp, VGR2.bmp, etc.
- KKR5.BMP (open in new window),
KKR6.BMP (open in new window),
PDP5.BMP (open in new window),
PDP6.BMP (open in new window)
are output filesmade using a modified version of pieddepouleFORMULEfiling.pde
View them using Microsoft Paint, for example.
- CompassLogo.nb (save as CompassLogo.nb)
is for Mathematica 8.0 and contains an interpreter for compass logo.
It is a mini-language like turtle-graphics logo but with commands such as N (North), S (South).
The interpreter is written in a functional denotational-semantics style.
The main purpose was to explore the contours of pied-de-pouple.
By default this program reads PDP200.clg, but it should be easy to change by adapting the first and second lines of the program.
The interpreter is not very efficient (if efficiency is desired, re-make the interpreter in an imperative style).
- PDP1 (save as PDP1.clg),
PDP2 (save as PDP2.clg),
PDP3 (save as PDP3.clg),
PDP4 (save as PDP4.clg),
PDP5 (save as PDP5.clg),
PDP6 (save as PDP6.clg),
PDP12 (save as PDP12.clg),
PDP50 (save as PDP50.clg),
PDP200 (save as PDP200.clg)
are Compass Logo programs to generate the contour of a pied-de-poule figure.
They are meant for interpretation by CompassLogo.nb, (the first two lines of which determine which one).
To edit the .clg programs, use for example Emacs or Microsoft Notepad.
- PDP (save as PDP.lg)
is meant for UCBLogo, also called Berkeley Logo (version 6.0).
Berkeley Logo is free for download and open source, see http://www.cs.berkeley.edu/~bh/logo.html
The program produces a limit-case pied-de-poule contour.
In the article by Feijs of Bridges 2012 it is argued that a new type of logo, called Compass Logo works better.
Classical logo can still make pied-de-poules however, as is shown by this example.
Once Berkeley logo is started, invoke "File" and "Load Logo Session" and them select the program.
To edit the .lg program, use for example Emacs or Microsoft Notepad.
Just two slightly different examples of pied-de-poules look like (PDP5, PDP6):