Copperbox revision 2661.
I've added some more Glue objects - select, route and pack. This has highlighted some things I've overlooked like types in Pd and "function" arities.
Sunday, November 27, 2011
pdss
Copperbox revision 2660.
More work typing ports, plus I've added bounding box calculation for float and symbol atoms.
With the changes to ports, I've also added a simpler constructor for objects so now all objects in libraries like Glue and Math should be two-liners - one line for the type signature and one of the function definition.
More work typing ports, plus I've added bounding box calculation for float and symbol atoms.
With the changes to ports, I've also added a simpler constructor for objects so now all objects in libraries like Glue and Math should be two-liners - one line for the type signature and one of the function definition.
Saturday, November 26, 2011
Wednesday, November 23, 2011
Tuesday, November 22, 2011
Monday, November 21, 2011
Sunday, November 20, 2011
Saturday, November 19, 2011
pdss
Copperbox revision 2653.
I've added a correct (contextual) bounding box to some of the simple objects (print and int) and started to put object definitions into libraries to match the Pd layout - only Glue so far and only a few members of it...
Embedding Pd will have a lot of name clashes with Haskell's Prelude that I will have to do something about.
I've added a correct (contextual) bounding box to some of the simple objects (print and int) and started to put object definitions into libraries to match the Pd layout - only Glue so far and only a few members of it...
Embedding Pd will have a lot of name clashes with Haskell's Prelude that I will have to do something about.
Friday, November 18, 2011
Wednesday, November 16, 2011
Tuesday, November 15, 2011
pdss
Copperbox revision 2650.
More work on objects.
Many objects are generic and are just drawn with a box and its ports (print, integer literals, random etc.). I'm not sure if these are worth the boilerplate of a newtype for every object, so for the time being I've added a generic object so I can avoid the newtype wrapping.
More work on objects.
Many objects are generic and are just drawn with a box and its ports (print, integer literals, random etc.). I'm not sure if these are worth the boilerplate of a newtype for every object, so for the time being I've added a generic object so I can avoid the newtype wrapping.
Monday, November 14, 2011
Sunday, November 13, 2011
Saturday, November 12, 2011
pdss
Copperbox revision 2647.
I've added PdContext to monad - the PdContext will work like the DrawingContext in Wumpus-Basic so objects like canvas can take graphic parameters like fill colour, font etc. from the implicit context rather than need them supplied as arguments to the constructor.
PDSS will probably get quite a bit of the functionality of Wumpus-Basic, so pdss-core won't be directly analogue to Wumpus-Core.
I've added PdContext to monad - the PdContext will work like the DrawingContext in Wumpus-Basic so objects like canvas can take graphic parameters like fill colour, font etc. from the implicit context rather than need them supplied as arguments to the constructor.
PDSS will probably get quite a bit of the functionality of Wumpus-Basic, so pdss-core won't be directly analogue to Wumpus-Core.
Friday, November 11, 2011
Thursday, November 10, 2011
pdss
Copperbox revision 2645.
I've tidied up the Colour code and the Doc code so it should be more readable. Particularly, the code has been formatted so it is easier to count the arguments supplied to records - PD doesn't reject files with bad record arities, instead they lead to obscure bugs.
I've tidied up the Colour code and the Doc code so it should be more readable. Particularly, the code has been formatted so it is easier to count the arguments supplied to records - PD doesn't reject files with bad record arities, instead they lead to obscure bugs.
Wednesday, November 9, 2011
Tuesday, November 8, 2011
pdss
Copperbox revision 2643.
More work on colour handling - still buggy, but somewhat nearer. The PD file format reference on the web is wrong, colours are 18-bit in PD. There are a couple of descriptions of a formula to convert to 18-bit on the web but I haven't got one working yet. I actually had a bigger problem where I was generating the wrong argument list for cnv objects.
More work on colour handling - still buggy, but somewhat nearer. The PD file format reference on the web is wrong, colours are 18-bit in PD. There are a couple of descriptions of a formula to convert to 18-bit on the web but I haven't got one working yet. I actually had a bigger problem where I was generating the wrong argument list for cnv objects.
Monday, November 7, 2011
Sunday, November 6, 2011
Saturday, November 5, 2011
Friday, November 4, 2011
Thursday, November 3, 2011
Wednesday, November 2, 2011
Subscribe to:
Posts (Atom)
Blog Archive
About Me
- Stephen Tetley
- 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.