Difference between revisions of "User:Lenny222"
Jump to navigation
Jump to search
(→Todo) |
(focusing on real world technolgies for the moment) |
||
(60 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/ Objective-C SVN] |
||
− | |||
− | * [http://www.w3.org/TR/SVG/ SVG] |
||
− | |||
− | ==== Todo ==== |
||
− | |||
− | * EPS export |
||
− | |||
− | * SVG export |
||
− | ** SvgPath |
||
− | *** <pre><path d="M 100 100 L 300 100 L 200 300 z" fill="red" stroke="blue" stroke-width="3" /></pre> |
||
− | ** SvgRectangle |
||
− | ***<pre><rect x="400" y="100" width="400" height="200" fill="yellow" stroke="navy" stroke-width="10" /> |
||
− | </pre> |
||
− | |||
− | * SVG XML generation |
||
− | ** HStringTemplate? |
||
− | ** HXT? |
||
− | ** HaXml? |
||
− | |||
− | * Shape |
||
− | ** Sine (Box, phases) |
||
− | <pre> |
||
− | float sqrt2 = sqrt(2); |
||
− | float x0 = 0.0; |
||
− | float y0 = 0.0; |
||
− | float x1 = x0 + PI / 12.0; |
||
− | float y1 = y0 + (2 * sqrt2 - 1 ) / 7.0; |
||
− | float x2 = x0 + PI / 6.0; |
||
− | float y2 = y0 + (4 * sqrt2 - 2) / 7.0; |
||
− | float x3 = x0 + PI / 4.0; |
||
− | float y3 = y0 + 0.5 * sqrt2; |
||
− | float x4 = x0 + PI / 3.0; |
||
− | float y4 = y0 + (3 * sqrt2 + 2) / 7.0; |
||
− | float x5 = x0 + 5 * PI / 12.0; |
||
− | float y5 = y0 + 1.0; |
||
− | float x6 = x0 + PI / 2.0; |
||
− | float y6 = y5; |
||
− | float x7 = x0 + 7.0 * PI / 12.0; |
||
− | float y7 = y5; |
||
− | float x8 = x0 + 2.0 * PI / 3.0; |
||
− | float y8 = y4; |
||
− | float x9 = x0 + 3.0 * PI / 4.0; |
||
− | float y9 = y3; |
||
− | float x10 = x0 + 5.0 * PI / 6.0; |
||
− | float y10 = y2; |
||
− | float x11 = x0 + 11.0 * PI / 12.0; |
||
− | float y11 = y1; |
||
− | float x12 = x0 + PI; |
||
− | float y12 = y0; |
||
− | float x13 = x0 + PI + PI / 12.0; |
||
− | float y13 = -y1; |
||
− | float x14 = x0 + PI + PI / 6.0; |
||
− | float y14 = -y2; |
||
− | float x15 = x0 + PI + PI / 4.0; |
||
− | float y15 = -y3; |
||
− | float x16 = x0 + PI + PI / 3.0; |
||
− | float y16 = -y4; |
||
− | float x17 = x0 + PI + 5 * PI / 12.0; |
||
− | float y17 = -y5; |
||
− | float x18 = x0 + 1.5 * PI; |
||
− | float y18 = -y5; |
||
− | float x19 = x0 + PI + 7.0 * PI / 12.0; |
||
− | float y19 = -y5; |
||
− | float x20 = x0 + PI + 2.0 * PI / 3.0; |
||
− | float y20 = -y4; |
||
− | float x21 = x0 + PI + 3.0 * PI / 4.0; |
||
− | float y21 = -y3; |
||
− | float x22 = x0 + PI + 5.0 * PI / 6.0; |
||
− | float y22 = -y2; |
||
− | float x23 = x0 + PI + 11.0 * PI / 12.0; |
||
− | float y23 = -y1; |
||
− | float x24 = x0 + 2 * PI; |
||
− | float y24 = y0; |
||
− | </pre> |
||
− | ** Spiral |
||
− | ** Star |
||
− | |||
− | * [http://hackage.haskell.org/package/colour colour] |
||
− | |||
− | * Diagram |
||
− | ** Pie (only for displaying fractions) |
||
− | |||
− | * Layout |
||
− | ** Instances |
||
− | *** Column |
||
− | *** Grid (cols, rows, margins) |
||
− | *** Margin/Frame |
||
− | **** content size (absolute, relative, remaining) |
||
− | **** margin sizes (absolute, relative, remaining) |
||
− | |||
− | * use HLint |
||
− | |||
− | * AffineTransformation |
||
− | |||
− | * Path |
||
− | ** approximate :: [Vector2D] -> [Segment] |
||
− | |||
− | ==== 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] |