Sunday, December 5, 2010

wumpus

Copperbox revision 1920.

Updates to Tree, Microprint and Clave to track the changes to Wumpus-Basic.

Saturday, December 4, 2010

wumpus-basic

Copperbox revisions 1918 and 1919.

I've split the Wumpus-Basic hierarchy into two layers Basic and Drawing. Basic contains the core graphic types, the font loader code, and the utilities (parser combinators etc.). Drawing contains the "derived" drawing objects Dots, Arrows, LRText etc. Basic had simply become to big to work with. Note that there will be further changes as I balance things out in Basic.Graphic.

wumpus-core

Copperbox revision 1917.

I've improved the handling of null paths (paths with an empty list of path segments) and empty text labels - labels with empty string for text. Neither generate PostScript and SVG output any more. Previously they generated output that wasn't actually printed (i.e. moveto instructions but no lineto instructions), the improvement saves code size. There is also a new constructor in the Picture API to create empty paths.

Friday, December 3, 2010

wumpus-clave

Copperbox revision 1916.

More pieces are working for djembe pattern drawing, though the code is still first draft quality. I can now draw a pattern with n-plets, or swing. 

wumpus-clave

Copperbox revision 1915.

More work on djembe patterns. I'm starting to get a feel for what needs to be done, though it isn't apparent in the code yet.

Thursday, December 2, 2010

wumpus-clave

Copperbox revision 1914.

Exploratory work on a data type representation of djembe patterns. Its made complicated because I want to have two interpretations of djembe patterns - one to draw with Wumpus and one to output MIDI, but I don't want to encode every possible notehead in the data types (this wouldn't be extensible). To get extensibility, I'm currently trying to use a typecase / tagless style.

Wednesday, December 1, 2010

wumpus-clave

Copperbox revision 1913.

Preliminary work re-doing djembe percussion notation.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.