DHTML, JavaScript Vector Graphics Library

13 Oct
2009


In HTML there are no such elements as oblique lines, circles, ellipses or other non-rectangularly bounded elements available. For a workaround, pixels might be painted by creating small background-colored layers DIV elements, and arranging these to the desired pattern. Creating a separate DIV for each pixel of the pattern, however, would be very inefficient since each of these DIVs inevitably had to lug its complete browser-internal object overhead. Image dynamically drawn with wz_jsgraphics.jsworstbadoptimal. To minimize the amount of such overhead and to optimize performance to what is possible, this Draw Shapes JavaScript VectorGraphics Library, besides using fast algorithms based on Bresenham algorithms to compute the shapes, minimizes the number of generated DIVs by combining as many pixels into each DIV as possible.
DHTML, JavaScript Vector Graphics Library Web Site
DHTML, JavaScript Vector Graphics Library Demo
DHTML, JavaScript Vector Graphics Library Download

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • MisterWong
  • Y!GG
  • Webnews
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Comment Form

top