
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.
Web Site
Demo
Download
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.