| Ratings |   | Unique User Downloads |   | Download Rankings | 
| Not yet rated by the users |  | Total: 72  |  | All time:  10,250 This week: 59  | 
| Version |   | License |   | PHP version |   | Categories | 
| poligonos 1.0 |  | Custom (specified... |  | 5 |  | HTML, PHP 5, Graphics | 
 | 
| Description |   | Author  | 
This class can display polygons on a page using SVG drawings. 
 
It can create a drawing with random polygons in different colors. 
 
The generated drawing can be display on a Web page using HTML that embeds the polygons described in the SVG format.  |  | 
  | 
 | 
Innovation award
   Nominee: 2x |  
 
 
  | 
Example
<?php 
 
require_once('class.poligonos.php'); 
 
  $artwork = new Poligono( "leslie", "350", "3", "100", "1" ); 
 
 
?> 
 
 | 
 
Details
poligonos
Php class that generates random polygons
Requirements
php >= 5.4.0 
Intallation
just copy the class to your classes folder
Basic Usage
  $artwork = new Poligono( "leslie", "350", "3", "100", "1" );
Inputs:
   Color palette, maximum size of the polygon, number of vertices, iteration of polygons, scale
sample:
here: https://intelector.com/random-polygons/
 
 
|   | 
Applications that use this package | 
  | 
No pages of applications that use this class were specified.
 If you know an application of this package, send a message to the author to add a link here.