nanjizal / htmlHelper

html helper abstracts and setup classes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

htmlHelper

html helper abstracts and setup classes, to make working with Svg, Canvas, WebGL simpler for me.

unit tests ( using haxe-doctest and utest, not yet implemented )

doc ( using doc-gen to provide documentation )

Library summary

  • canvas
    AutoSize is to help with automatically sizing the canvas: setFull or setVerticalSplit
    CanvasWrapper quick creation of Canvas context and provides x, y properties.
    Leaf provides image offset rotations allowing IK construction uses only two canvas elements, similar to bones.
    Surface provides basic flash style api for simplified canvas drawing.
  • svg
    SvgPath wrapper: path, x, y, color, thickness
    SvgPathString wrapper provides simple path string creation using draw commands.
    SvgRoot helps setup root svg node.
  • tools
    AnimateTimer provides basic css enterframe and basic tween.
    Attributes helps deconstruct attributes to typed values.
    CharacterInput quick keyboard listener helper
    DivertTrace provides onscreen trace in the browser with styling.
    ImageLoader has a hash of images loaded and wraps loading images.
  • webgl
    WebGLSetup provides fairly generic tools for helping setting up WebGL quickly.

About

html helper abstracts and setup classes.

License:MIT License


Languages

Language:HTML 64.5%Language:Haxe 25.9%Language:CSS 5.4%Language:JavaScript 4.2%