PHP Draw Polygons: Display polygons on a page using SVG drawings

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-10-11 (4 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 44 This week: 44All time: 10,164 This week: 4Up
Version License PHP version Categories
poligonos 1.0Custom (specified...5HTML, 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.

Picture of jean paul Delaye
  Performance   Level  
Name: jean paul Delaye <contact>
Classes: 1 package by
Country: Mexico Mexico
Age: 46
All time rank: 440355 in Mexico Mexico
Week rank: 6 Up1 in Mexico Mexico Up

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/

  Files folder image Files  
File Role Description
Plain text file class.poligonos.php Class Class source
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:44
This week:44
All time:10,164
This week:4Up
For more information send a message to info at phpclasses dot org.