diff --git a/src/TernaryGraph.purs b/src/TernaryGraph.purs index f04e331..d949476 100644 --- a/src/TernaryGraph.purs +++ b/src/TernaryGraph.purs @@ -23,7 +23,6 @@ type Line = , end :: Point } --- TODO: How to do more normal math expressions? rotate :: Number -> Point -> Point rotate angle { x: x, y: y} = { x: x * (cos angle) - y * (sin angle), @@ -49,13 +48,6 @@ end : t end } where t = transform scale xOffset yOffset --- How to handle the different coordinate systems? --- These things should be generated in the basic coordinate system --- * ticks via generateTicks --- * axis labels --- * axis lines --- There should be a transform function that these should be passed through directly after generation - newtype XMLFragment = XMLFragment String derive newtype instance xmlFragmentSemiGroup :: Semigroup XMLFragment