Dimitris Phoukas writes:

> Rob,
> 

> Related to your research is the following:
> 

> Turtle Graphics in Miranda
> by Eniko Bogdan <[EMAIL PROTECTED]>
> The Turtle Graphics program is written in Miranda version 2.009  
(Nov.
> 1989), a pure functional language.  Turtle Graphics is an  
interactive
> program and it prompts for turtle commands.  Turtle commands help  
to
> produce drawings which are displayed on a visual interface. Turtle
> Graphics consists on moving the turtle on the screen, producing
> geometric designs. A geometric design is a sequence of connected
> lines, whose symmetry and regularity provokes the user investigate
> deeper in geometry and number theory.

In the most recent Yale Haskell release (with X interface), there is  
a Haskell implementation of Logo. Logo is a programming language  
which supports turtle graphics.

The Logo interpreter is in progs/demo/X11/logo. There are a few other  
X Window and graphics related programs under progs/demo/X11:

animation/      Haskell implementation of Kevi Arya's FPCA'88 paper
                "A Functional Animation Starter Kit".

                The following animations are provided there:

                  seaside.hs  - a seaside scene
                  planets.hs  - planets in orbit
                  palm.hs     - another seaside scene
                  birds.hs    - flying birds

draw/           The example draw program used in the X window
                documentation.

gobang/         A game played on a Go board. It has fully interactive
                graphic interface and allows a human to play against
                the computer.

                Two players in turn place pieces on a 19 by 19 board. 

                The winner is the first who makes five consecutive 

                pieces along either vertical, horizontal or diagonal
                directions.

graphics/       Haskell implementation of Henderson's recursive
                geometry.


Regards,

Sheng Liang <[EMAIL PROTECTED]>

Reply via email to