Difference between revisions of "User:Lenny222"
Jump to navigation
Jump to search
m (→Todo) |
(focusing on real world technolgies for the moment) |
||
(95 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [http://www.cardus.com/sticky.php?year=7 ] |
||
− | == Things i think need improvement == |
||
− | |||
− | * [[Diagrams]] |
||
− | * [[GHC/Error messages|GHC error messages]] |
||
− | * [[Cookbook|Haskell Cookbook]] |
||
− | * [[User:Lenny222/Haskell explained to the busy|Haskell explained to the busy]] |
||
− | * [[Mac OS X]] |
||
− | |||
− | === Chlor === |
||
− | |||
− | * [http://chlor.svn.sourceforge.net/viewvc/chlor/trunk/haskell/Chlor/ Haskell SVN] |
||
− | * [http://chlor.svn.sourceforge.net/viewvc/chlor/trunk/src/core/ C SVN] |
||
− | |||
− | ==== Todo ==== |
||
− | |||
− | * data Primitive = Circle | Ellipse | Path | Rectangle | RegularPolygon | Text |
||
− | ** area :: Shape -> Area |
||
− | *** returns the shape area, without stroke |
||
− | ** path :: Shape -> Path |
||
− | |||
− | * class ObjectLike |
||
− | ** area :: a -> Area |
||
− | *** returns the boundig area, including stroke and effects |
||
− | ** effects:: a -> [Effect] |
||
− | ** fill:: a -> maybe paint |
||
− | ** primitives :: a -> [Primitive] |
||
− | *** converts the Object to a list of Shape |
||
− | ** stroke:: a -> Maybe Stroke |
||
− | |||
− | |||
− | * Layout |
||
− | ** size |
||
− | *** adjustToArea :: Object -> Area -> Object |
||
− | *** adjustToHeight :: Object -> Double -> Object |
||
− | *** adjustToWidth :: Object -> Double -> Object |
||
− | *** getArea :: Object -> Area |
||
− | ** Instances |
||
− | *** Column |
||
− | *** Grid (cols, rows, margins) |
||
− | *** Margin/Frame |
||
− | **** content size (absolute, relative, remaining) |
||
− | **** margin sizes (absolute, relative, remaining) |
||
− | *** Row |
||
− | |||
− | * Export |
||
− | ** Svg |
||
− | |||
− | <pre> |
||
− | <?xml version="1.0" standalone="no"?> |
||
− | <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
||
− | <svg width="400" height="400" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg" version="1.1"> |
||
− | <path d="M 100 100 L 300 100 L 200 300 z" |
||
− | fill="red" stroke="blue" stroke-width="3" /> |
||
− | </svg> |
||
− | </pre> |
||
− | |||
− | * Vector |
||
− | ** createVectors :: [Double] -> [Vector2d] |
||
− | |||
− | * AffineTransformation |
||
− | |||
− | * Shape |
||
− | ** Sine |
||
− | ** Spiral |
||
− | ** Star |
||
− | ** Pie Chart (only for displaying fractions) |
||
− | |||
− | * Path |
||
− | ** approximate :: [Vector2D] -> [Segment] |
||
− | |||
− | * Shape |
||
− | ** intersect |
||
− | ** intersections |
||
− | |||
− | * Object |
||
− | ** anchor point |
||
− | *** point |
||
− | *** orientation: center, left, topLeft, top, topRight, right, etc. |
||
− | |||
− | ==== Ideas ==== |
||
− | |||
− | * layout |
||
− | ** Table |
||
− | ** SpaceHorizontal |
||
− | ** SpaceVertical |
||
− | |||
− | * 3d projection |
||
− | ** [http://en.wikipedia.org/wiki/3D_projection 3d projection] |
||
− | * diagrams |
||
− | ** histograms, density plots |
||
− | * export |
||
− | ** SVG |
||
− | ** PDF |
||
− | ** Illustrator JavaScript |
||
− | ** Processing |
||
− | ** SWF |
||
− | ** TikZ/LaTeX |
||
− | * import |
||
− | ** SVG |
||
− | ** PDF |
||
− | * path operations |
||
− | ** boolean operations |
||
− | ** offset path |
||
− | ** http://pyx.sourceforge.net/examples/drawing2/parallel.html |
||
− | ** [http://lib2geom.svn.sourceforge.net/viewvc/lib2geom/lib2geom/trunk/ lib2geom] |
||
− | ** http://inkscape.svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/src/live_effects/ |
||
− | * recursive programming |
||
− | ** [http://www.typeer.de/thema/Context-Free-Art---Simple-Schoenheit/ ContextFree] |
||
− | * symbols |
||
− | ** [http://local.wasp.uwa.edu.au/~pbourke/geometry/supershape/ supershape] |
||
− | ** [http://www.jroller.com/aalmiray/entry/jsilhouette_0_3_released symbols] |
||
− | |||
− | === Simplified Haskell homepage === |
||
− | |||
− | [[User:Lenny222/Haskell|A simplified Haskell frontpage]] |
||
− | |||
− | Why? |
||
− | |||
− | * to [http://www.useit.com/alertbox/ia-mistakes.html add a structure] |
||
− | * to [http://www.useit.com/alertbox/20020609.html reduce redundancy] |
||
− | * to make scanning easier: |
||
− | ** [http://www.useit.com/alertbox/whyscanning.html why scanning] |
||
− | ** [http://www.useit.com/alertbox/nanocontent.html first two words] |
||
− | |||
− | == Contact == |
||
− | |||
− | Contact me via |
||
− | |||
− | q 4 0 9 |
||
− | |||
− | a t |
||
− | |||
− | k u d l i n g |
||
− | |||
− | d o t |
||
− | |||
− | d e |
||
− | |||
− | |||
− | [http://www.cardus.com/sticky.php?year=7] |