PHP Classes

splx_graph: Render polygons in HTML pages using DIV elements

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 440 This week: 1All time: 6,247 This week: 560Up
Version License PHP version Categories
splx_graph 1.0GNU General Publi...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: 45
All time rank: 106240 in Italy Italy
Week rank: 411 Up18 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:440
This week:1
All time:6,247
This week:560Up
User Ratings User Comments (2)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1635
 
nice job, I like it :)
13 years ago (bitperbit)
67%StarStarStarStar
fantastic (:
13 years ago (Tufan Baris YILDIRIM)
70%StarStarStarStar