Login   Register  
PHP Classes
elePHPant
Icontem

splx_graph: Render polygons in HTML pages using DIV elements

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-05-11 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 432 All time: 5,707 This week: 1,872Up
Version License PHP version Categories  
splx_graph 1.0GNU General Public Lice...4.0HTML, Graphics
Description Author  

This class can be used to render polygons in HTML pages just using DIV elements.

It can generate HTML for presenting different types of polygons in Web page given their shape and coordinates in pixels.

Currently it can draw individual pixels, lines, rectangles, circles, or any other polygon given it coordinates of its edges.

Innovation Award  
PHP Programming Innovation award nominee
May 2010
Number 5


Prize: One copy of Delphi for PHP
Originally Web pages were not meant for drawing vector graphics. Usually you would need to resort to bitmap graphic images to render diagrams with polygons and other vectorial shape types.

Nowadays there are some browser extensions that support drawing vector graphics in a Web page but their availability depends on the installed browser.

This class provides a alternative solution for drawing vector graphics that consists of using DIV tags laid out in a special way to make them appear as vectorial shapes.

Manuel Lemos
Picture of Alessandro Vernassa (speleoalex)
Name: Alessandro Vernassa ... is available for providing paid consulting. Contact Alessandro Vernassa ... .
Classes: 3 packages by
Country: Italy Italy
Age: 36
All time rank: 129651 in Italy Italy
Week rank: 418 Up22 in Italy Italy Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

Screenshots  
  • splx_graph.png
  Files folder image Files  
File Role Description
Plain text file splx_graph.php Class main class
Plain text file test.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%Total:432All time:5,707
 This week:0This week:1,872Up
 User Comments (2)  
 
nice job, I like it :)
4 years ago (bitperbit)
67%StarStarStarStar
fantastic (:
4 years ago (Tufan Baris YILDIRIM)
70%StarStarStarStar