Copperbox revision 2600.
I've added a few more incline trails - diamond, chamfered rectangle, tube.
Friday, September 30, 2011
Thursday, September 29, 2011
wumpus-drawing
Copperbox revision 2599.
Initial work on Incline Trails - trails formed from a base vector representing west-to-east but at some angle of incline.
Hopefully arrowheads, some box connectors and path vamps should be derivable from incline trails, so they can all share a library of common primitives.
Initial work on Incline Trails - trails formed from a base vector representing west-to-east but at some angle of incline.
Hopefully arrowheads, some box connectors and path vamps should be derivable from incline trails, so they can all share a library of common primitives.
Wednesday, September 28, 2011
Tuesday, September 27, 2011
Monday, September 26, 2011
wumpus
Copperbox revision 2596.
I've sorted out clock direction for rounding corners, previously it was hacked expecting shapes would be drawn counter-clockwise. Also I've improved the API of the curve trails so they are respective of clock direction, the waveform trails need a similar improvement...
I've sorted out clock direction for rounding corners, previously it was hacked expecting shapes would be drawn counter-clockwise. Also I've improved the API of the curve trails so they are respective of clock direction, the waveform trails need a similar improvement...
Sunday, September 25, 2011
new releases - wumpus
Copperbox revision 2595.
New releases:
wumpus-core-0.52.0
wumpus-basic-0.22.0
wumpus-drawing-0.7.0
wumpus-tree-0.18.0
The changes to Wumpus-Core are cosmetic but important to the higher level layers - renaming clip to clipPrim and changing the types of d2r and r2d. As Wumpus-Core is such a large archive, I've added support for annotating with SVG id attributes to make it a worthwhile Hackage update.
New releases:
wumpus-core-0.52.0
wumpus-basic-0.22.0
wumpus-drawing-0.7.0
wumpus-tree-0.18.0
The changes to Wumpus-Core are cosmetic but important to the higher level layers - renaming clip to clipPrim and changing the types of d2r and r2d. As Wumpus-Core is such a large archive, I've added support for annotating with SVG id attributes to make it a worthwhile Hackage update.
wumpus-drawing
Copperbox revision 2594.
I've updated the demos in Wumpus-Drawing as I intend to make a new set of releases.
I've updated the demos in Wumpus-Drawing as I intend to make a new set of releases.
wumpus-core
Copperbox revision 2592.
I've added explicit support for SVG id attributes. Text labels support id directly, other elements have only limited support cascading downwards from a SVG group element.
The rationale for this is to support changing text dynamically via DOM scripting, Wumpus is too static to readily support scripting anything else.
I've added explicit support for SVG id attributes. Text labels support id directly, other elements have only limited support cascading downwards from a SVG group element.
The rationale for this is to support changing text dynamically via DOM scripting, Wumpus is too static to readily support scripting anything else.
Saturday, September 24, 2011
wumpus
Copperbox revision 2590.
I've changed the d2r and r2d functions in Wumpus-Core so that degree is typed to Double rather than a polymorphic a. This means user code can avoid type annotations for the common case where degrees are represented by Doubles.
Copperbox revision 2591.
Updates to Wumpus-Basic and Wumpus-Drawing to work with the Core changes. Also I've stopped exposing jointedAppend from the Path.Base API.
I've changed the d2r and r2d functions in Wumpus-Core so that degree is typed to Double rather than a polymorphic a. This means user code can avoid type annotations for the common case where degrees are represented by Doubles.
Copperbox revision 2591.
Updates to Wumpus-Basic and Wumpus-Drawing to work with the Core changes. Also I've stopped exposing jointedAppend from the Path.Base API.
Friday, September 23, 2011
wumpus
Copperbox revision 2589.
First work towards removing jointedAppend from Paths. I've reworked curved arrowheads to use trails rather than AbsPaths (and jointedAppend).
Also I noticed that the curve CatTrail constructors should account for clockwise and counter-clockwise directions...
First work towards removing jointedAppend from Paths. I've reworked curved arrowheads to use trails rather than AbsPaths (and jointedAppend).
Also I noticed that the curve CatTrail constructors should account for clockwise and counter-clockwise directions...
Thursday, September 22, 2011
wumpus-basic
Copperbox revision 2588.
I've optimized trail drawing so that contiguous straight lines in the same direction are coalesced. This is potentially useful for drawing Djembe beam groups in Wumpus-Rhythm.
At the weekend, when I've more time to concentrate, I'll look at removing jointedAppend from Paths in Wumpus-Drawing as AbsPaths aren't really monoidal. Also I suspect there are modules in Wumpus-Drawing that use AbsPath when a trail would be better - Arrowheads is one...
I've optimized trail drawing so that contiguous straight lines in the same direction are coalesced. This is potentially useful for drawing Djembe beam groups in Wumpus-Rhythm.
At the weekend, when I've more time to concentrate, I'll look at removing jointedAppend from Paths in Wumpus-Drawing as AbsPaths aren't really monoidal. Also I suspect there are modules in Wumpus-Drawing that use AbsPath when a trail would be better - Arrowheads is one...
Wednesday, September 21, 2011
Tuesday, September 20, 2011
wumpus-drawing
Copperbox revision 2586.
I've added a few more Doc symbols - left and right slices and a box.
I've added a few more Doc symbols - left and right slices and a box.
Monday, September 19, 2011
wumpus-drawing
Copperbox revision 2585.
Preliminary work basing Dots on Symbols - SimpleDots are expected to be fixed sized symbols. Also work on re-defining Symbols as Doc objects so they can be used inside text where otherwise using the Symbol font is controversial for SVG.
Preliminary work basing Dots on Symbols - SimpleDots are expected to be fixed sized symbols. Also work on re-defining Symbols as Doc objects so they can be used inside text where otherwise using the Symbol font is controversial for SVG.
Sunday, September 18, 2011
Saturday, September 17, 2011
Friday, September 16, 2011
wumpus-basic
Copperbox revision 2583.
I've renamed yesterday's code as the functions were more correctly circle sweeps rather than arcs. The distinction is how they "join" an existing trail - circle sweeps continue round a guiding circle; an arc would be drawn along a possibly tangential vector.
Tomorrow I'll re-implement arcs as they are needed for Wumpus-Drawing.
I've renamed yesterday's code as the functions were more correctly circle sweeps rather than arcs. The distinction is how they "join" an existing trail - circle sweeps continue round a guiding circle; an arc would be drawn along a possibly tangential vector.
Tomorrow I'll re-implement arcs as they are needed for Wumpus-Drawing.
Thursday, September 15, 2011
wumpus-basic
Copperbox revision 2581.
I've reworked the arc trails to be better cognisant of whether they are drawn in a clockwise or counter-clockwise direction.
I've reworked the arc trails to be better cognisant of whether they are drawn in a clockwise or counter-clockwise direction.
Wednesday, September 14, 2011
wumpus-basic
Copperbox revision 2580.
I've added a trail for circular arcs. Hopefully this will be useful for rounded corners, which unfortunately have never been implemented satisfactorily in Wumpus.
I've added a trail for circular arcs. Hopefully this will be useful for rounded corners, which unfortunately have never been implemented satisfactorily in Wumpus.
Tuesday, September 13, 2011
Monday, September 12, 2011
Sunday, September 11, 2011
wumpus-basic
Copperbox revision 2577.
More work on waveform trails. I've added sine wave and squiggle wave (semicircles) and improved the API so waveforms are drawn according to the number of repetitions - this produces better paths for waves like square or sawtooth that have lines that are otherwise "split" at the end of a phase.
More work on waveform trails. I've added sine wave and squiggle wave (semicircles) and improved the API so waveforms are drawn according to the number of repetitions - this produces better paths for waves like square or sawtooth that have lines that are otherwise "split" at the end of a phase.
wumpus-basic
Copperbox revision 2576.
Work on waveform trails - sawtooth and square wave. Eventually these should be useful for decorating connector paths.
Work on waveform trails - sawtooth and square wave. Eventually these should be useful for decorating connector paths.
Saturday, September 10, 2011
Friday, September 9, 2011
wumpus-basic
Copperbox revision 2574.
I've changed GoingTrail to CatTrail and changed the representation to a Hughes list so it supports efficient append. This is so it can replace HPath in Wumpus-Drawing.
I've changed GoingTrail to CatTrail and changed the representation to a Hughes list so it supports efficient append. This is so it can replace HPath in Wumpus-Drawing.
Thursday, September 8, 2011
wumpus-basic
Copperbox revision 2573.
More work on Trail.
Off-topic, Wumpus's development has slowed down as I'm contracting and have a lot less "free" time. I generally try to do a commit a day, but on days like today the commit can be fairly insubstantial.
More work on Trail.
Off-topic, Wumpus's development has slowed down as I'm contracting and have a lot less "free" time. I generally try to do a commit a day, but on days like today the commit can be fairly insubstantial.
Wednesday, September 7, 2011
wumpus-basic
Copperbox revision 2572.
I've added a new module Trail for what were previously path schemes or point schemes.
I thought of the name Trail this morning on the lines of breadcrumb trails and the Slint song and it seemed to fit better than path scheme (or PrePath, PathPlan...). Coincidentally, I discovered later that Diagrams has a module Trail for Path like functionality - I follow the Diagrams mailing list, but don't know the library well as I haven't been able to build it on Windows.
I've added a new module Trail for what were previously path schemes or point schemes.
I thought of the name Trail this morning on the lines of breadcrumb trails and the Slint song and it seemed to fit better than path scheme (or PrePath, PathPlan...). Coincidentally, I discovered later that Diagrams has a module Trail for Path like functionality - I follow the Diagrams mailing list, but don't know the library well as I haven't been able to build it on Windows.
Monday, September 5, 2011
Sunday, September 4, 2011
Saturday, September 3, 2011
wumpus-basic
Copperbox revision 2568 and 2569.
I've added user state to PosObject and moved it into Kernel.Drawing so it is with the other obviously monadic objects. Without user state in PosObject, it would be impractical to add user state to the Doc object in Wumpus-Drawing.
I've added user state to PosObject and moved it into Kernel.Drawing so it is with the other obviously monadic objects. Without user state in PosObject, it would be impractical to add user state to the Doc object in Wumpus-Drawing.
Thursday, September 1, 2011
wumpus-basic
Copperbox revision 2566.
I've changed the arg order of the monadic run functions to follow the monadLib style (args then monadic operation) rather than the MTL style (monadic operation then args).
Using the MTL style was as good as forcing code to use where clauses for the monadic operation if they wanted to be typographically neat, whereas the monadLib style can be linear by using ($).
Wumpus-Drawing needs updating to follow this convention.
I've changed the arg order of the monadic run functions to follow the monadLib style (args then monadic operation) rather than the MTL style (monadic operation then args).
Using the MTL style was as good as forcing code to use where clauses for the monadic operation if they wanted to be typographically neat, whereas the monadLib style can be linear by using ($).
Wumpus-Drawing needs updating to follow this convention.
Subscribe to:
Posts (Atom)
Blog Archive
-
▼
2011
(650)
-
▼
September
(33)
- wumpus-drawing
- wumpus-drawing
- wumpus
- wumpus
- wumpus
- new releases - wumpus
- wumpus-drawing
- wumpus
- wumpus-core
- wumpus
- wumpus
- wumpus-basic
- wumpus
- wumpus-drawing
- wumpus-drawing
- wumpus
- wumpus-basic
- wumpus-basic
- wumpus-basic
- wumpus-basic
- wumpus
- wumpus-basic
- wumpus-basic
- wumpus-basic
- wumpus
- wumpus-basic
- wumpus-basic
- wumpus-basic
- wumpus
- wumpus
- wumpus-basic
- wumpus
- wumpus-basic
-
▼
September
(33)
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.